Back to API Reference
Enum
UniTextWorldRaycaster.BlockingObjects
Physics systems consulted for occlusion between the camera and a text hit.
public static readonly BlockingObjects None = 0No occlusion check. Other raycasters (if present) still participate via distance sort.
public static readonly BlockingObjects TwoD = 1Check 2D colliders (Physics2D).
public static readonly BlockingObjects ThreeD = 2Check 3D colliders (Physics).
public static readonly BlockingObjects All = 3Check both 2D and 3D colliders.
