@urth/metatell-sdk - v0.1.0
    Preparing search index...

    Interface PointerEvent

    A pointer interaction in the 3D scene.

    Delivered by the onPointerDown / onPointerUp / onPointerMove / onHover subscriptions in @urth/metatell-sdk/input.

    interface PointerEvent {
        button?: number;
        kind: "pointerdown" | "pointerup" | "pointermove" | "hover";
        normal?: Vector3Data;
        objectId?: string;
        point?: Vector3Data;
    }
    Index
    button?: number

    Mouse/controller button index, when applicable.

    kind: "pointerdown" | "pointerup" | "pointermove" | "hover"

    Which pointer interaction this event represents.

    normal?: Vector3Data

    Surface normal at point, if available.

    objectId?: string

    Id of the object under the pointer, if the pointer hit one.

    point?: Vector3Data

    World-space point where the pointer ray hit, if any.