Constructor.
the canvas width and height.
The camera to use when raycasting against view-dependent objects such as billboarded objects like Sprites. This field can be set manually or is set when calling "setFromCamera".
the canvas width and height.
The far factor of the raycaster. This value indicates which objects can be discarded based on the distance. This value shouldn't be negative and should be larger than the near property.
Used by Raycaster to selectively ignore 3D objects when performing intersection tests.
The near factor of the raycaster. This value indicates which objects can be discarded based on the distance. This value shouldn't be negative and should be smaller than the far property.
The Ray used for the raycasting.
Updates the ray with a new origin and direction.
The origin vector where the ray casts from.
The normalized direction vector that gives direction to the ray.
Updates the ray with a new origin and direction.
2D coordinates of the mouse, in normalized device coordinates (NDC)---X and Y components should be between -1 and 1.
camera from which the ray should originate
Generated using TypeDoc
Raycasting points is not supported as necessary in Three.js. This class extends a [[THREE.Raycaster]] and adds the width / height of the canvas to allow picking of screen space geometry.