Optional featureType: FeatureTypeOptional featureId: numberThe id of the geometric feature the point was projected on.
The type of the geometric feature the point was projected on.
The normal of the collider at the hit point.
The time-of-impact of the ray with the collider.
The hit point is obtained from the ray's origin and direction: origin + dir * timeOfImpact.
Static fromThe raw intersection returned by the WASM query. It is freed by this method.
Optional target: RayIntersectionIf provided, this object is populated and returned instead of allocating a new one.
The intersection between a ray and a collider.