API reference
API reference
Select your platform
No SDKs available
No versions available

GrabbableType

GrabbableType

enum GrabbableType : Enum<GrabbableType>
GrabbableType is an enum that defines the type of behavior an object has when grabbed.

Entries

NameSummary
FACE
The object faces the user when grabbed.
PIVOT_Y
The object will be pivoted in Y dimension.

Properties

NameSummary
name
val name: String
ordinal
val ordinal: Int

Functions

NameSummary
valueOf
fun valueOf(value: String): GrabbableType
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
values
fun values(): Array<GrabbableType>
Returns an array containing the constants of this enum type, in the order they’re declared.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon