unreal.MagicLeapRaycastResultState

class unreal.MagicLeapRaycastResultState

Bases: unreal.EnumBase

The states of a raycast result.

C++ Source:

  • Plugin: MagicLeap

  • Module: MagicLeap

  • File: RaycastComponent.h

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