Interface SceneAnimationState

Explicit evaluated animation state.

This is separate from live Scene state so application code and tools can evaluate any authored animation time without mutating a SceneModel. The structure is intentionally grouped by animation domain; this iteration populates transform values, mesh-local morph weights and vertex-state samples.

interface SceneAnimationState {
    animationId: string;
    morphWeights: { [meshId: string]: number[] };
    time: number;
    transforms: { [transformId: string]: SceneAnimationTransformState };
    vertexStates: { [meshId: string]: SceneAnimationVertexStateState };
}

Properties

animationId: string
morphWeights: { [meshId: string]: number[] }
time: number
transforms: { [transformId: string]: SceneAnimationTransformState }
vertexStates: { [meshId: string]: SceneAnimationVertexStateState }