KeyFrame

Overview

KeyFrame is a class in Aspose.3D FOSS for Typescript.

KeyFrame.constructor creates a new key frame with the specified curve and time.

Properties

NameTypeAccessDescription
timenumberRead/WriteGets or sets the time position of the key frame on its animation curve
valuenumberRead/WriteGets or sets the numeric value stored at this key frame
interpolationInterpolationRead/WriteGets or sets the interpolation mode used between this and the next key frame
tangentWeightModeWeightedModeRead/WriteGets or sets how tangent weights are interpreted for this key frame
stepModeStepModeRead/WriteGets or sets whether the key frame uses step interpolation
nextInTangentFVector4 | nullRead/WriteGets or sets the incoming tangent vector for the next segment, or null
outTangentFVector4 | nullRead/WriteGets or sets the outgoing tangent vector for this segment, or null
outWeightnumberRead/WriteGets or sets the weight applied to the outgoing tangent
nextInWeightnumberRead/WriteGets or sets the weight applied to the incoming tangent of the next segment
tensionnumberRead/WriteGets or sets the tension parameter influencing curve smoothness
continuitynumberRead/WriteGets or sets the continuity parameter affecting tangent continuity
biasnumberRead/WriteGets or sets the bias parameter influencing curve direction
independentTangentbooleanRead/WriteGets or sets whether tangents are independent of each other
flatbooleanRead/WriteGets or sets whether the key frame forces a flat tangent
timeIndependentTangentbooleanRead/WriteGets or sets whether the tangent is independent of time scaling
curveKeyframeSequence | nullReadGets or sets the parent KeyframeSequence that owns this key frame, or null

Methods

SignatureDescription
constructor(curve: KeyframeSequence, time: number)Creates a new key frame with the specified curve and time

See Also