MorphTargetChannel
Panoramica
MorphTargetChannel è una classe in Aspose.3D FOSS per Java. Eredita da: A3DObject.
Un MorphTargetChannel è usato da MorphTargetDeformer per organizzare le geometrie target.
Questa classe fornisce 20 metodi per lavorare con oggetti MorphTargetChannel nei programmi Java. I metodi disponibili includono: A3DObject, MorphTargetChannel, findProperty, get, getChannelWeight, getName, getProperties, getProperty, getTargets, getWeight, getWeights, removeProperty e 5 metodi aggiuntivi. Tutti i membri pubblici sono accessibili a qualsiasi applicazione Java dopo aver installato il pacchetto Aspose.3D FOSS per Java. Proprietà: DefaultWeight, channelWeight, name, properties, targets, weights.
Proprietà
| Nome | Tipo | Accesso | Descrizione |
|---|---|---|---|
weights | List<Double> | Lettura | Restituisce i valori completi dei pesi delle geometrie di destinazione. |
channelWeight | double | Lettura | Ottiene o imposta il peso del deformatore di questo canale. |
targets | List<Shape> | Lettura | Ottiene tutti i target associati al canale. |
DefaultWeight | double | Lettura | Peso predefinito per il target morph. |
name | String | Lettura | Ottiene il nome. |
properties | PropertyCollection | Lettura | Ottiene le proprietà. |
Metodi
| Firma | Descrizione |
|---|---|
MorphTargetChannel() | Inizializza una nuova istanza della classe MorphTargetChannel. |
MorphTargetChannel(name: String) | Inizializza una nuova istanza della classe MorphTargetChannel. |
getWeights() → List<Double> | Restituisce i valori completi di peso delle geometrie target. |
getChannelWeight() → double | Ottiene o imposta il peso del deformatore di questo canale. |
setChannelWeight(value: double) | Ottiene o imposta il peso del deformatore di questo canale. |
getTargets() → List<Shape> | Ottiene tutti i target associati al canale. |
getWeight(target: Shape) → double | Ottiene 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. |
get(index: int) → double | Ottiene il peso per l’indice di destinazione specificato. |
set(index: int, value: double) | Imposta il peso per l’indice target specificato. |
A3DObject() | Chiama A3DObject su questa istanza di MorphTargetChannel. |
A3DObject(name: String) | Chiama A3DObject(name) su questa istanza di MorphTargetChannel. |
getName() → String | Restituisce il nome. |
setName(name: String) | Imposta il valore del nome. |
getProperties() → PropertyCollection | Restituisce le proprietà. |
findProperty(name: String) → Property | Chiama findProperty(name) su questa istanza di MorphTargetChannel. |
getProperty(name: String) → Object | Chiama getProperty(name) su questa istanza di MorphTargetChannel. |
setProperty(name: String, value: Object) | Imposta il valore della proprietà. |
removeProperty(name: String) → boolean | Chiama removeProperty(name) su questa istanza di MorphTargetChannel. |
removeProperty(property: Property) → boolean | Chiama removeProperty(property) su questa istanza di MorphTargetChannel. |