KeyframeSequence
Overview
KeyframeSequence is a class in Aspose.3D FOSS for Python.
Inherits from: A3DObject.
KeyframeSequence.reset resets the sequence to its initial empty state.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
name | str | Read | Stores the identifier name of the keyframe sequence |
properties | `` | Read | Holds a collection of user-defined metadata for the sequence |
bind_point | 'BindPoint' | Read | References the bind point to which the sequence is attached |
key_frames | List['KeyFrame'] | Read | Is a list containing all keyframe objects in the sequence |
post_behavior | Extrapolation | Read | Defines the extrapolation mode applied after the last keyframe |
pre_behavior | Extrapolation | Read | Defines the extrapolation mode applied before the first keyframe |
_key_frames | List['KeyFrame'] | Read | |
_bind_point | 'BindPoint' | Read | |
_pre_behavior | `` | Read | |
_post_behavior | `` | Read |
Methods
| Signature | Description |
|---|---|
__init__(name: str) | |
reset() | Resets the sequence to its initial empty state |
add(time: float, value: float, interpolation: Interpolation) | Adds a keyframe at the given time with the specified value and interpolation mode |