Documentation - v19.2.0-dev
    Preparing search index...
    interface RaycastOptions {
        filterFunc?: (object: RaycastableSceneObject) => boolean;
        keepOnlyClosestLine: boolean;
        raycastTransparentMeshes: boolean;
    }
    Index

    Properties

    filterFunc?: (object: RaycastableSceneObject) => boolean

    Filter raycasted objects. Should return true if object are raycastable.

    keepOnlyClosestLine: boolean

    Whether to return only the closest line to the ray when raycasting. Otherwise returns all the intersected lines (use SceneIntersection.rayDistance).

    true
    
    raycastTransparentMeshes: boolean
    true