ClipKey beta
Interface of @v12-engine/editor
ts
export interface ClipKeyA key of a track: when, and the bone's turn or place then. A smooth track's keys may carry the tangents the file had (per second, as glTF keeps them); a key without goes flat
Members
at
ts
at: number;The time of the key, in seconds from the start of the clip
inTangent
ts
inTangent?: number[];Tangent that enters the key, of a smooth track, kept as the file had it; same components as value
outTangent
ts
outTangent?: number[];Tangent that leaves the key, of a smooth track, kept as the file had it; same components as value
value
ts
value: number[];The bone's turn [x, y, z, w] or place [x, y, z] at the key, in the bone's own frame