Class MorphTargetChannel
MorphTargetChannel class
A MorphTargetChannel is used by MorphTargetDeformer to organize the target geometries. Some file formats like FBX support multiple channels in parallel.
public class MorphTargetChannel : A3DObject
Constructors
Properties
| Name | Description |
|---|
| ChannelWeight { get; set; } | Gets or sets the deformer weight of this channel. The weight is between 0.0 and 1.0 |
| Item { get; set; } | |
| virtual Name { get; set; } | Gets or sets the name. |
| Properties { get; } | Gets the collection of all properties. |
| Targets { get; } | Gets all targets associated with the channel. |
| Weights { get; } | Gets the full weight values of target geometries. |
Methods
| Name | Description |
|---|
| FindProperty(string) | Finds the property. It can be a dynamic property (Created by CreateDynamicProperty/SetProperty) or native property(Identified by its name) |
| GetProperty(string) | Get the value of specified property |
| GetWeight(Shape) | Gets the weight for the specified target, if the target is not belongs to this channel, default value 0 is returned. |
| RemoveProperty(Property) | Removes a dynamic property. |
| RemoveProperty(string) | Remove the specified property identified by name |
| SetProperty(string, object) | Sets the value of specified property |
| SetWeight(Shape, double) | Sets the weight for the specified target, default value is 1, range should between 0~1 |
Fields
| Name | Description |
|---|
| const DefaultWeight | Default weight for morph target. |
Weight is between 0 and 1.0, and default weight for target is 0.0;
See Also