AnimationChannel class
AnimationChannel class
A channel maps property’s component field to a set of keyframe sequences
Inheritance: AnimationChannel →
KeyframeSequence →
A3DObject
The AnimationChannel type exposes the following members:
Properties
| Property | Description |
|---|---|
| name | Gets or sets the name. |
| properties | Gets the collection of all properties. |
| bind_point | Gets the property bind point which owns this curve |
| key_frames | Gets the key frames of this curve. |
| post_behavior | Gets the post behavior indicates what the sampled value should be after the last key frame. |
| pre_behavior | Gets the pre behavior indicates what the sampled value should be before the first key. |
| component_type | Gets the component field’s type |
| default_value | Gets or sets the Default value of the channel. If a channel has no keyframe sequences connected, the default value will be used during the animation evaluation. A real scenario: Animation only animates a node’s x coordinate, the y and z are not changed, then the default value will be used during full translation evaluation. |
| keyframe_sequence | Gets associated keyframe sequence inside this channel |
Methods
| Method | Description |
|---|---|
remove_property(self, property) | Removes a dynamic property. |
remove_property(self, property) | Remove the specified property identified by name |
add(self, time, value) | Create a new key frame with specified value |
add(self, time, value, interpolation) | Create a new key frame with specified value |
get_property(self, property) | Get the value of specified property |
set_property(self, property, value) | Sets the value of specified property |
find_property(self, property_name) | Finds the property. It can be a dynamic property (Created by CreateDynamicProperty/SetProperty) or native property(Identified by its name) |
reset(self) | Removes all key frames and reset the post/pre behaviors. |
See Also
- module
aspose.threed.animation - class
A3DObject - class
AnimationChannel - class
KeyframeSequence