MorphTargetChannel

MorphTargetChannel

Panoramica

MorphTargetChannel è una classe in Aspose.3D FOSS per Python. Eredita da: A3DObject.

MorphTargetChannel.get_weight(target) restituisce il valore di peso per un target morph specifico.

Questa classe dichiara 9 metodi per oggetti MorphTargetChannel in programmi Python. I metodi disponibili includono: __init__, find_property, get_property, get_weight, remove_property, set_property, set_weight. Tutti i membri pubblici sono accessibili a qualsiasi applicazione Python dopo aver installato il pacchetto Aspose.3D FOSS per Python. Proprietà: channel_weight, name, properties, targets, weights.

Proprietà

NomeTipoAccessoDescrizione
weights'list[float]'LetturaOttiene i pesi.
channel_weightfloatLettura/ScritturaOttiene o imposta il peso del canale.
targets'list[Shape]'LetturaOttiene i target.
namestrLettura/ScritturaOttiene o imposta il nome.
propertiesPropertyCollectionLetturaOttiene le proprietà.

Metodi

FirmaDescrizione
__init__(name: str)Calls init(name) su questa istanza MorphTargetChannel.
get_weight(target: 'Shape') → floatRestituisce il peso corrente per il target morph specificato, e set_weight(target, weight) lo aggiorna.
set_weight(target: 'Shape', weight: float)Imposta il valore del peso.
get_weight(index: int) → floatChiama get_weight(index) su questa istanza di MorphTargetChannel.
set_weight(index: int, weight: float)Imposta il valore del peso.
find_property(property_name: str)Chiama find_property(property_name) su questa istanza di MorphTargetChannel.
get_property(property: str)Chiama get_property(property) su questa istanza di MorphTargetChannel.
set_property(property: str, value)Imposta il valore della proprietà.
remove_property(property)Chiama remove_property(property) su questa istanza MorphTargetChannel.

Vedi anche

 Italiano