📖 INDEX
LOADING ENGINE...
Ray
THREE.JS REFERENCE // ray
A ray that emits from an origin in a certain direction.
Syntax
const ray = new THREE.Ray(origin, direction);Examples
Example 01Basic Usage
const ray = new THREE.Ray(origin, direction);Best Practices
- Consult the official Three.js documentation for deeper understanding.
- Be mindful of performance when creating many objects or geometries.