KeyframeSequence

KeyframeSequence

Overview

KeyframeSequence is a class in Aspose.3D FOSS for Typescript. Inherits from: A3DObject.

KeyframeSequence.constructor creates a new sequence and optionally assigns a name.

Properties

NameTypeAccessDescription
namestringRead/WriteStores the identifier string of the keyframe sequence
propertiesPropertyCollectionReadHolds a collection of custom properties attached to the sequence
bindPointBindPoint | nullReadReturns the assigned bind point or null if none is set
keyFramesKeyFrame[]ReadProvides an array of all keyframes in chronological order
postBehaviorExtrapolationReadDefines the extrapolation mode after the last keyframe
preBehaviorExtrapolationReadDefines the extrapolation mode before the first keyframe

Methods

SignatureDescription
constructor(name: string | null)Creates a new sequence and optionally assigns a name
reset()Clears all keyframes and restores default behavior settings
add(time: number, value: number, interpolation: Interpolation)Inserts a keyframe at the given time with a value and interpolation mode
setBindPoint(value: BindPoint)Assigns the bind point that defines the reference transform

See Also