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

NameTypeAccessDescription
WeightsIList<double>ReadGets the weights.
ChannelWeightdoubleRead/WriteGets or sets the channel weight.
TargetsIList<Shape>ReadGets the targets.
DefaultWeightdoubleReadGets the default weight.
NamestringRead/WriteGets or sets the name.
PropertiesPropertyCollectionReadGets the properties.

méthodes

SignatureDescription
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
 Français