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: MorphTargetChannel
→
A3DObject
The MorphTargetChannel type exposes the following members:
Constructors
Constructor | Description |
---|---|
init | Initializes a new instance of the MorphTargetChannel class. |
init | Initializes a new instance of the MorphTargetChannel class. |
Properties
Property | Description |
---|---|
name | Gets or sets the name. |
properties | Gets the collection of all properties. |
weights | Gets the full weight values of target geometries. |
channel_weight | Gets or sets the deformer weight of this channel. The weight is between 0.0 and 1.0 |
targets | Gets all targets associated with the channel. |
DEFAULT_WEIGHT | Default weight for morph target. |
Methods
Method | Description |
---|---|
remove_property | Removes a dynamic property. |
remove_property | Remove the specified property identified by name |
get_property | Get the value of specified property |
set_property | Sets the value of specified property |
find_property | Finds the property. It can be a dynamic property (Created by CreateDynamicProperty/SetProperty) or native property(Identified by its name) |
get_weight | Gets the weight for the specified target, if the target is not belongs to this channel, default value 0 is returned. |
set_weight | Sets 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
- module
aspose.threed.deformers
- class
A3DObject
- class
MorphTargetChannel
- class
MorphTargetDeformer