MorphTargetChannel
Vue de l’ensemble
‘MorphTargetChannel’ est une classe dans Aspose.3D FOSS pour .NET. hérite de: ‘A3DObject’, ‘INamedObject’.
Un MorphTargetChannel est utilisé pour organiser les géométries cibles. Certains formats de fichiers tels que FBX supportent plusieurs canaux en parallèle.
Cette classe fournit 8 méthodes pour travailler avec les objets MorphTargetChannel dans des programmes .NET. Les méthodologies disponibles comprennent: A3DObject, FindProperty , ‘GetPoperty’, ‘MorphTargetCanal et 'RemoveProperty ; ‘SetProcerty’ ; SetWeight'. Tous les membres publics sont accessibles à n’importe quelle application .Net après avoir installé l’Aspose.3D FOSS pour le package .net. Propriétés : ChannelWeights; DefaultWeigh`.
Propriétés
| 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. |
méthodes
| 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) |
Voir aussi
- Aspose.3D - référence API d’entreprise