MorphTargetChannel class

MorphTargetChannel class

A MorphTargetChannel is used by MorphTargetDeformer to organize the target geometries. Some file formats like FBX support multiple channels in parallel.

Inheritance: MorphTargetChannelA3DObject

The MorphTargetChannel type exposes the following members:

Constructors

ConstructorDescription
initInitializes a new instance of the MorphTargetChannel class.
initInitializes a new instance of the MorphTargetChannel class.

Properties

PropertyDescription
nameGets or sets the name.
propertiesGets the collection of all properties.
weightsGets the full weight values of target geometries.
channel_weightGets or sets the deformer weight of this channel.
The weight is between 0.0 and 1.0
targetsGets all targets associated with the channel.
DEFAULT_WEIGHTDefault weight for morph target.

Methods

MethodDescription
remove_propertyRemoves a dynamic property.
remove_propertyRemove the specified property identified by name
get_propertyGet the value of specified property
set_propertySets the value of specified property
find_propertyFinds the property.
It can be a dynamic property (Created by CreateDynamicProperty/SetProperty)
or native property(Identified by its name)
get_weightGets the weight for the specified target, if the target is not belongs to this channel, default value 0 is returned.
set_weightSets the weight for the specified target, default value is 1, range should between 0~1

Remarks

Weight is between 0 and 1.0, and default weight for target is 0.0;

See Also