KeyframeSequence class
KeyframeSequence class
The sequence of key-frames, it describes the transformation of a sampled value over time.
Inheritance: KeyframeSequence →
A3DObject
The KeyframeSequence type exposes the following members:
Constructors
| Constructor | Description |
|---|---|
__init__(self, name) | Initializes a new instance of the KeyframeSequence class. |
__init__(self) | Initializes a new instance of the KeyframeSequence class. |
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. |
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
KeyframeSequence