MorphTargetChannel
Panoramica
MorphTargetChannel è una classe in Aspose.3D FOSS per .NET. Eredita da: A3DObject, INamedObject.
Un MorphTargetChannel è usato da per organizzare le geometrie di destinazione.
Questa classe fornisce 11 metodi per lavorare con oggetti MorphTargetChannel nei programmi .NET. I metodi disponibili includono: A3DObject, FindProperty, GetProperty, GetWeight, MorphTargetChannel, RemoveProperty, SetProperty, SetWeight. Tutti i membri pubblici sono accessibili a qualsiasi applicazione .NET dopo aver installato il pacchetto Aspose.3D FOSS per .NET. Proprietà: ChannelWeight, DefaultWeight, Name, Properties, Targets, Weights.
Proprietà
| Nome | Tipo | Accesso | Descrizione |
|---|---|---|---|
Weights | IList<double> | Lettura | Restituisce i valori completi del peso delle geometrie target. |
ChannelWeight | double | Lettura/Scrittura | Ottiene o imposta il peso del deformatore di questo canale. |
Targets | IList<Shape> | Lettura | Restituisce tutti i target associati al canale. |
DefaultWeight | double | Lettura | Peso predefinito per il morph target. |
Name | string | Lettura/Scrittura | Ottiene o imposta il nome. |
Properties | PropertyCollection | Lettura | Ottiene la raccolta di tutte le proprietà. |
Metodi
| Firma | Descrizione |
|---|---|
MorphTargetChannel(name: string) | Inizializza una nuova istanza della classe. |
MorphTargetChannel() | Inizializza una nuova istanza della classe. |
GetWeight(target: Shape) | Restituisce il peso per il target specificato; se il target non appartiene a questo canale, viene restituito il valore predefinito 0. |
SetWeight(target: Shape, weight: double) | Imposta il peso per il target specificato, il valore predefinito è 1, l’intervallo dovrebbe essere tra 0~1 |
A3DObject() | Inizializza una nuova istanza della classe A3DObject senza nome. |
A3DObject(name: string) | Inizializza una nuova istanza della classe A3DObject. |
RemoveProperty(property: Property) | Rimuove una proprietà dinamica. |
RemoveProperty(property: string) | Rimuove la proprietà specificata identificata per nome |
GetProperty(property: string) | Ottieni il valore della proprietà specificata |
SetProperty(property: string, value: object?) | Imposta il valore della proprietà specificata |
FindProperty(propertyName: string) | Trova la proprietà. |