MorphTargetChannel

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

NumeTipAccesDescriere:
weights'list[float]'CitireObține greutățile.
channel_weightfloatCitire/ScriereObține sau stabilește greutatea canalului.
targets'list[Shape]'CitireObține țintele.
namestrCitire/ScriereObține sau stabilește numele.
propertiesPropertyCollectionCitireObține proprietățile.

Metode

SemnăturăDescriere:
__init__(name: str)Calls init(name) pe această instanță MorphTargetChannel.
get_weight(target: 'Shape') → floatReturnează 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) → floatApelează 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.

Vezi și:

 Română