Interface RaycastOptions

interface RaycastOptions {
    raycasterParameters?: RaycasterParameters;
    recursive?: boolean;
    updateMatrix?: boolean;
}

Properties

raycasterParameters?: RaycasterParameters

Additional parameters to pass to the three.js raycaster.

recursive?: boolean

Set to true to also test children of the specified objects for intersections.

Default

false
updateMatrix?: boolean

Update the inverse-projection-matrix before casting the ray (set this to false if you need to run multiple raycasts for the same frame).

Default

true