Illutions Engine API - v0.26.0
    Preparing search index...

    Interface RaycastCfg

    Defines the raycasting settings used to detect pickable objects around the pointer.

    interface RaycastCfg {
        circleRadius: number;
        circleSteps: number;
        countClosestObjs: number;
        occlInterval: number;
        occlMoveFactor: number;
    }
    Index
    circleRadius: number

    Circle radius around the pointer in pixels.

    10
    
    circleSteps: number

    Number of rays to cast around the circle.

    12
    
    countClosestObjs: number

    Number of closest objects to detect.

    5
    
    occlInterval: number

    Time in milliseconds over which all pending occlusion checks are distributed once. A value of 0 processes all pending checks in one frame.

    0
    
    occlMoveFactor: number

    Relative movement threshold used to request a new occlusion check. The value is multiplied by the current distance between the camera and the tracked object. A value of 0 reacts to every position change.

    0.01