intersections
Studio is being deprecated, please head over to the documentation page for Mattercraft, our most advanced 3D tool for the web, where you can find the most recent information and tutorials.
("intersections", (IntersectionEvent[]) => void): this;
Emitted once a frame with data for every object currently intersected by the raycaster.
Returns
Section titled “Returns”this
Handler Function
Section titled “Handler Function”When the intersections
event is fired, attached handler functions are called with a single argument, an array of IntersectionEvents.
Even if no objects are currently intersected by the raycaster, this event will still be emitted each frame, with an empty array passed as the argument.