MorphTargetChannel

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à

NomeTipoAccessoDescrizione
WeightsIList<double>LetturaRestituisce i valori completi del peso delle geometrie target.
ChannelWeightdoubleLettura/ScritturaOttiene o imposta il peso del deformatore di questo canale.
TargetsIList<Shape>LetturaRestituisce tutti i target associati al canale.
DefaultWeightdoubleLetturaPeso predefinito per il morph target.
NamestringLettura/ScritturaOttiene o imposta il nome.
PropertiesPropertyCollectionLetturaOttiene la raccolta di tutte le proprietà.

Metodi

FirmaDescrizione
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à.

Vedi anche

 Italiano