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

    Interface RaycastRequest

    Internal request payload behind input.raycast().

    Plugins normally call raycast() rather than emitting this directly.

    interface RaycastRequest {
        correlationId: string;
        direction: Vector3Data;
        layerMask?: number;
        maxDistance?: number;
        origin: Vector3Data;
    }
    Index
    correlationId: string

    Id correlating this request with its RaycastResult.

    direction: Vector3Data

    Ray direction (need not be normalized).

    layerMask?: number

    Bitmask selecting which collision layers to test.

    maxDistance?: number

    Maximum distance to test along the ray.

    origin: Vector3Data

    World-space ray origin.