Docsv3.30.0
Back to API Reference
Struct

Text3DRaycastHit

sealed

Where a ray met a UniText3D: the distance along the ray, the point and the outward normal of the surface met in world space, and the place on the glyph the point stands for.

public float distance

The distance from the ray's origin to the point, in world units.

public Vector3 point

The point the ray met.

public Vector3 normal

The unit normal of the surface met, pointing out of the solid.

public Text3DSurfacePoint surfacePoint

The place on the glyph met; no place where the ray met a layer, a plate, a bar or a sticker.