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
| Name | Type | Access | Description |
|---|---|---|---|
weights | 'list[float]' | Read | Gets the weights. |
channel_weight | float | Read/Write | Gets or sets the channel weight. |
targets | 'list[Shape]' | Read | Gets the targets. |
name | str | Read/Write | Gets or sets the name. |
properties | PropertyCollection | Read | Gets the properties. |
Methods
| Signature | Description |
|---|---|
__init__(name: str) | Calls init(name) on this MorphTargetChannel instance. |
get_weight(target: 'Shape') → float | Returns 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) → float | Calls 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. |