unreal.RaycastResultState

class unreal.RaycastResultState

Bases: unreal.EnumBase

deprecated: ‘RaycastResultState’ was renamed to ‘MagicLeapRaycastResultState’.

HIT_OBSERVED

The ray hit an observed area.

Type

3

HIT_UNOBSERVED

The ray hit an unobserved area. This can occur only when CollideWithUnobserved is set to true.

Type

2

NO_COLLISION

The ray passed beyond maximum raycast distance and it doesn’t hit any surface.

Type

1

REQUEST_FAILED

The raycast request failed.

Type

0