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
| Name | Type | Access | Description |
|---|---|---|---|
time | number | Read/Write | Gets or sets the time position of the key frame on its animation curve |
value | number | Read/Write | Gets or sets the numeric value stored at this key frame |
interpolation | Interpolation | Read/Write | Gets or sets the interpolation mode used between this and the next key frame |
tangentWeightMode | WeightedMode | Read/Write | Gets or sets how tangent weights are interpreted for this key frame |
stepMode | StepMode | Read/Write | Gets or sets whether the key frame uses step interpolation |
nextInTangent | FVector4 | null | Read/Write | Gets or sets the incoming tangent vector for the next segment, or null |
outTangent | FVector4 | null | Read/Write | Gets or sets the outgoing tangent vector for this segment, or null |
outWeight | number | Read/Write | Gets or sets the weight applied to the outgoing tangent |
nextInWeight | number | Read/Write | Gets or sets the weight applied to the incoming tangent of the next segment |
tension | number | Read/Write | Gets or sets the tension parameter influencing curve smoothness |
continuity | number | Read/Write | Gets or sets the continuity parameter affecting tangent continuity |
bias | number | Read/Write | Gets or sets the bias parameter influencing curve direction |
independentTangent | boolean | Read/Write | Gets or sets whether tangents are independent of each other |
flat | boolean | Read/Write | Gets or sets whether the key frame forces a flat tangent |
timeIndependentTangent | boolean | Read/Write | Gets or sets whether the tangent is independent of time scaling |
curve | KeyframeSequence | null | Read | Gets or sets the parent KeyframeSequence that owns this key frame, or null |
Methods
| Signature | Description |
|---|---|
constructor(curve: KeyframeSequence, time: number) | Creates a new key frame with the specified curve and time |