API reference

EnvironmentRaycastHit Struct

Contains the result of the environment raycast.

Fields

normal : Vector3
The normal of the surface the ray intersected with.
Signature
Vector3 normal
normalConfidence : float
Normal confidence in the range of [0,1].
Signature
float normalConfidence
point : Vector3
Intersection point in world space where the ray hit the environment.
Signature
Vector3 point
Status of the environment raycast.
Signature
EnvironmentRaycastHitStatus status