KeyframeSequence
Overview
KeyframeSequence is a class in Aspose.3d for Python.
Inherits from: A3DObject.
KeyframeSequence.reset clears all key frames and resets the sequence to its default state.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
name | str | Read | Stores the user‑defined name of the keyframe sequence |
properties | `` | Read | Holds a dictionary of custom metadata associated with the sequence |
bind_point | 'BindPoint' | Read | References the bind point to which the sequence is attached |
key_frames | List['KeyFrame'] | Read | Contains the ordered list of KeyFrame objects in the sequence |
post_behavior | Extrapolation | Read | Defines how values are extrapolated after the final key frame |
pre_behavior | Extrapolation | Read | Defines how values are extrapolated before the first key frame |
Methods
| Signature | Description |
|---|---|
__init__(name: str) | |
reset() | Clears all key frames and resets the sequence to its default state |
add(time: float, value: float, interpolation: Interpolation) | Inserts a key frame at the given time with the specified value and interpolation mode |