MorphTargetChannel

MorphTargetChannel

Przegląd

MorphTargetChannel jest klasą w Aspose.3D FOSS dla Python. Dziedziczy po: A3DObject.

MorphTargetChannel.get_weight(target) zwraca wartość wagi dla konkretnego celu morph.

Ta klasa deklaruje 9 metod dla obiektów MorphTargetChannel w programach Python. Dostępne metody to: __init__, find_property, get_property, get_weight, remove_property, set_property, set_weight. Wszystkie publiczne elementy są dostępne dla każdej aplikacji Python po zainstalowaniu pakietu Aspose.3D FOSS dla Python. Właściwości: channel_weight, name, properties, targets, weights.

Właściwości

NazwaTypDostępOpis
weights'list[float]'OdczytPobiera wagi.
channel_weightfloatOdczyt/zapisPobiera lub ustawia wagę kanału.
targets'list[Shape]'OdczytZwraca cele.
namestrOdczyt/zapisPobiera lub ustawia nazwę.
propertiesPropertyCollectionOdczytPobiera właściwości.

Metody

SygnaturaOpis
__init__(name: str)Calls init(name) na tej instancji MorphTargetChannel.
get_weight(target: 'Shape') → floatZwraca bieżącą wagę określonego celu morph, a set_weight(target, weight) ją aktualizuje.
set_weight(target: 'Shape', weight: float)Ustawia wartość wagi.
get_weight(index: int) → floatWywołuje get_weight(index) na tej instancji MorphTargetChannel.
set_weight(index: int, weight: float)Ustawia wartość wagi.
find_property(property_name: str)Wywołuje find_property(property_name) na tej instancji MorphTargetChannel.
get_property(property: str)Wywołuje get_property(property) na tej instancji MorphTargetChannel.
set_property(property: str, value)Ustawia wartość właściwości.
remove_property(property)Wywołuje remove_property(property) na tej instancji MorphTargetChannel.

Zobacz także

 Polski