Documentation
    Preparing search index...

    Type Alias SpaceMode

    SpaceMode:
        | "world"
        | "screen"
        | "viewport"
        | "camera"
        | "billboard"
        | "local-plane"

    §8's space modes, transcribed member-for-member.

    • "world" — the scene's own frame; the default, and the only frame the simulation runs in today.
    • "screen" — pixels of the output surface.
    • "viewport" — normalized coordinates of the active viewport.
    • "camera" — the active camera's eye frame.
    • "billboard" — positioned in world space, oriented to face the camera.
    • "local-plane" — a 2D frame carried by a plane in a 3D world; §21 maps it onto the XY frame of a "2d" physics world.