weasel API - v0.8.0
    Preparing search index...

    Interface RectPose

    Axis-aligned rectangle pose with optional rotation. The canonical pose shape used by composeRectPose and the unionBounds helper. Rotation is in radians, pivoted on the unrotated AABB center; absent === 0. Kit-side code that consumes rotation already reads pose.rotation ?? 0 (SceneCanvas.defaultDrawOne, rotate/handle.ts, pathInWorld.ts), so the slot exists on every default scene whether or not the consumer populates it.

    interface RectPose {
        height: number;
        rotation?: number;
        width: number;
        x: number;
        y: number;
    }
    Index

    Properties

    Properties

    height: number
    rotation?: number

    Rotation in radians around the unrotated AABB center. Absent === 0.

    width: number
    x: number
    y: number