HitTestResult.SurfaceType


object HitTestResult.SurfaceType


Summary

Constants

const Int
OBJECT = 2

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

const Int
PLANE = 1

The ray hit a flat surface such as a PanelEntity.

const Int

The ray hit an unknown surface or did not hit anything

Constants

OBJECT

Added in 1.0.0-alpha04
const val OBJECT = 2: Int

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

PLANE

Added in 1.0.0-alpha04
const val PLANE = 1: Int

The ray hit a flat surface such as a PanelEntity.

UNKNOWN

Added in 1.0.0-alpha04
const val UNKNOWN = 0: Int

The ray hit an unknown surface or did not hit anything