KeyframeSequence

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

NameTypeAccessDescription
namestrReadStores the user‑defined name of the keyframe sequence
properties``ReadHolds a dictionary of custom metadata associated with the sequence
bind_point'BindPoint'ReadReferences the bind point to which the sequence is attached
key_framesList['KeyFrame']ReadContains the ordered list of KeyFrame objects in the sequence
post_behaviorExtrapolationReadDefines how values are extrapolated after the final key frame
pre_behaviorExtrapolationReadDefines how values are extrapolated before the first key frame

Methods

SignatureDescription
__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