MorphTargetChannel
Prezentare generală
MorphTargetChannel este o clasă în Aspose.3D FOSS pentru Python. Moștenește de la: A3DObject.
MorphTargetChannel.get_weight(target) returnează valoarea greutății pentru un anumit morph target.
Această clasă declară 9 metode pentru obiecte MorphTargetChannel în programe Python. Metodele disponibile includ: __init__, find_property, get_property, get_weight, remove_property, set_property, set_weight. Toți membrii publici sunt accesibili oricărei aplicații Python după instalarea pachetului Aspose.3D FOSS pentru Python. Proprietăți: channel_weight, name, properties, targets, weights.
Proprietăți
| Nume | Tip | Acces | Descriere: |
|---|---|---|---|
weights | 'list[float]' | Citire | Obține greutățile. |
channel_weight | float | Citire/Scriere | Obține sau stabilește greutatea canalului. |
targets | 'list[Shape]' | Citire | Obține țintele. |
name | str | Citire/Scriere | Obține sau stabilește numele. |
properties | PropertyCollection | Citire | Obține proprietățile. |
Metode
| Semnătură | Descriere: |
|---|---|
__init__(name: str) | Calls init(name) pe această instanță MorphTargetChannel. |
get_weight(target: 'Shape') → float | Returnează greutatea curentă pentru ținta morph specificată și set_weight(target, weight) o actualizează. |
set_weight(target: 'Shape', weight: float) | Setează valoarea greutății. |
get_weight(index: int) → float | Apelează get_weight(index) pe această instanță MorphTargetChannel. |
set_weight(index: int, weight: float) | Setează valoarea greutății. |
find_property(property_name: str) | Apelează find_property(property_name) pe această instanță MorphTargetChannel. |
get_property(property: str) | Apelează get_property(property) pe această instanță MorphTargetChannel. |
set_property(property: str, value) | Setează valoarea proprietății. |
remove_property(property) | Apelează remove_property(property) pe această instanță MorphTargetChannel. |