rayPlaneZ0
rayPlaneZ0(
raycaster,object):RayPlaneHit|null
Defined in: packages/three-flatland/src/events/raycastHelpers.ts:22
Intersect the raycaster’s ray with object’s local Z=0 plane.
Returns local hit coordinates + world distance, or null when the ray
is parallel, the plane is behind the origin, or the hit falls
outside raycaster.near/far. Allocation-free.
Parameters
Section titled “Parameters”raycaster
Section titled “raycaster”object
Section titled “object”Returns
Section titled “Returns”RayPlaneHit | null