Documentation
    Preparing search index...

    Interface PoseSnapshotSystem

    The §39 SimulationSystem shape, as @fourjs/scene can state it.

    This is structurally the interface @fourjs/motion publishes — an object of this type is assignable to SimulationSystem and registers with SystemRegistry unchanged — restated here because @fourjs/scene must not depend on @fourjs/motion (plan §3.1: the edge runs motion → scene). The context parameters are unknown for the same reason: this system needs nothing from them, and a wider parameter type stays assignable to the narrower one.

    interface PoseSnapshotSystem {
        priority: number;
        dispose(): void;
        fixedUpdate(context: unknown): void;
        initialize(context: unknown): void;
    }
    Index
    priority: number

    Execution order key; lower runs first.

    • Called once when the system is unregistered. Leaves the buffer intact.

      Returns void

    • Captures the fixed step's poses into the buffer.

      Parameters

      • context: unknown

      Returns void

    • Called once when the system is registered. This system needs no setup.

      Parameters

      • context: unknown

      Returns void