MorphTargetChannel
Overview
MorphTargetChannel is a class in Aspose.3D FOSS for .NET.
Inherits from: A3DObject, INamedObject.
A MorphTargetChannel is used by to organize the target geometries. Some file formats like FBX support multiple channels in parallel.
This class provides 8 methods for working with MorphTargetChannel objects in .NET programs.
Available methods include: A3DObject, FindProperty, GetProperty, GetWeight, MorphTargetChannel, RemoveProperty, SetProperty, SetWeight.
All public members are accessible to any .NET application after installing the Aspose.3D FOSS for .NET package.
Properties: ChannelWeight, DefaultWeight, Name, Properties, Targets, Weights.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
Weights | IList<double> | Read | Gets the weights. |
ChannelWeight | double | Read/Write | Gets or sets the channel weight. |
Targets | IList<Shape> | Read | Gets the targets. |
DefaultWeight | double | Read | Gets the default weight. |
Name | string | Read/Write | Gets or sets the name. |
Properties | PropertyCollection | Read | Gets the properties. |
Methods
| Signature | Description |
|---|---|
MorphTargetChannel(name: string) | |
MorphTargetChannel() | |
GetWeight(target: Shape) | Gets the weight for the specified target, if the target is not belongs to this channel, default value 0 is returned. |
SetWeight(target: Shape, weight: double) | Sets the weight for the specified target, default value is 1, range should between 0~1 |
A3DObject() | |
RemoveProperty(property: Property) | Removes a dynamic property. |
GetProperty(property: string) | Get the value of specified property |
SetProperty(property: string, value: object?) | Sets the value of specified property |
FindProperty(propertyName: string) | Finds the property. It can be a dynamic property (Created by CreateDynamicProperty/SetProperty) or native property(Identified by its name) |