AnimationChannel
Overview
AnimationChannel is a class in Aspose.3D FOSS for Python.
Inherits from: KeyframeSequence.
AnimationChannel stores keyframe data; you can reset it, add keyframes with time, value, and interpolation, and manage custom properties.
This class declares 7 methods for AnimationChannel objects in Python programs.
Available methods include: __init__, add, find_property, get_property, remove_property, reset, set_property.
All public members are accessible to any Python application after installing the Aspose.3D FOSS for Python package.
Properties: bind_point, component_type, default_value, key_frames, keyframe_sequence, name, and 3 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
component_type | `` | Read | Gets the component type. |
default_value | Any | Read/Write | Gets or sets the default value. |
keyframe_sequence | KeyframeSequence | Read/Write | Gets or sets the keyframe sequence. |
name | str | Read/Write | Gets or sets the name. |
properties | `` | Read | Gets the properties. |
bind_point | 'BindPoint' | Read | Gets the bind point. |
key_frames | List['KeyFrame'] | Read | Gets the key frames. |
post_behavior | Extrapolation | Read | Gets the post behavior. |
pre_behavior | Extrapolation | Read | Gets the pre behavior. |
Methods
| Signature | Description |
|---|---|
__init__(name: str) | Calls init(name) on this AnimationChannel instance. |
reset() | Calls reset on this AnimationChannel instance. |
add(time: float, value: float, interpolation: Interpolation) | Calls add(time, value, interpolation) on this AnimationChannel instance. |
find_property(property_name: str) | Calls find_property(property_name) on this AnimationChannel instance. |
get_property(property: str) | Calls get_property(property) on this AnimationChannel instance. |
set_property(property: str, value) | Sets the property value. |
remove_property(property) | Calls remove_property(property) on this AnimationChannel instance. |