Strata - v1.4.10
    Preparing search index...

    Interface AnimationContext

    Context stored within the animation state machine.

    const context: AnimationContext = {
    currentAnimation: 'idle',
    previousAnimation: null,
    blendFactor: 0,
    playbackSpeed: 1.0,
    timeInState: 0
    };
    interface AnimationContext {
        blendFactor: number;
        currentAnimation: string;
        isPaused: boolean;
        metadata?: Record<string, unknown>;
        playbackSpeed: number;
        previousAnimation: string | null;
        timeInState: number;
    }
    Index

    Properties

    blendFactor: number

    Blend factor between previous and current (0-1)

    currentAnimation: string

    Currently playing animation name

    isPaused: boolean

    Whether animation is currently paused

    metadata?: Record<string, unknown>

    Custom data for user extensions

    playbackSpeed: number

    Global playback speed multiplier

    previousAnimation: string | null

    Previously played animation for blending

    timeInState: number

    Time elapsed in current state (seconds)