MorphTargetChannel

MorphTargetChannel

Overview

MorphTargetChannel is a class in Aspose.3D FOSS for Python. Inherits from: A3DObject.

MorphTargetChannel.get_weight(target) returns the weight value for a specific morph target.

This class declares 9 methods for MorphTargetChannel objects in Python programs. Available methods include: __init__, find_property, get_property, get_weight, remove_property, set_property, set_weight. All public members are accessible to any Python application after installing the Aspose.3D FOSS for Python package. Properties: channel_weight, name, properties, targets, weights.

Properties

NameTypeAccessDescription
weights'list[float]'ReadGets the weights.
channel_weightfloatRead/WriteGets or sets the channel weight.
targets'list[Shape]'ReadGets the targets.
namestrRead/WriteGets or sets the name.
propertiesPropertyCollectionReadGets the properties.

Methods

SignatureDescription
__init__(name: str)Calls init(name) on this MorphTargetChannel instance.
get_weight(target: 'Shape')floatReturns the current weight for the specified morph target, and set_weight(target, weight) updates it
set_weight(target: 'Shape', weight: float)Sets the weight value.
get_weight(index: int)floatCalls get_weight(index) on this MorphTargetChannel instance.
set_weight(index: int, weight: float)Sets the weight value.
find_property(property_name: str)Calls find_property(property_name) on this MorphTargetChannel instance.
get_property(property: str)Calls get_property(property) on this MorphTargetChannel instance.
set_property(property: str, value)Sets the property value.
remove_property(property)Calls remove_property(property) on this MorphTargetChannel instance.

See Also