HitTestResult.SurfaceType


public static class HitTestResult.SurfaceType


Summary

Constants

static final int
OBJECT = 2

The ray hit an object that is not a flat surface such as a gltfEntity.

static final int
PLANE = 1

The ray hit a flat surface such as a PanelEntity.

static final int

The ray hit an unknown surface or did not hit anything

Constants

OBJECT

Added in 1.0.0-alpha04
public static final int OBJECT = 2

The ray hit an object that is not a flat surface such as a gltfEntity.

PLANE

Added in 1.0.0-alpha04
public static final int PLANE = 1

The ray hit a flat surface such as a PanelEntity.

UNKNOWN

Added in 1.0.0-alpha04
public static final int UNKNOWN = 0

The ray hit an unknown surface or did not hit anything

Public fields

INSTANCE

Added in 1.0.0-alpha04
public static @NonNull HitTestResult.SurfaceType INSTANCE