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.
Parameters
JVM
NameSummary
state
The state of the grabbable type

Entries

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

Types

NameSummary
Companion
object Companion

Properties

NameSummary
name
val name: String
ordinal
val ordinal: Int
state
val state: 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.

Companion

object Companion

Functions

NameSummary
fromInt
fun fromInt(state: Int): GrabbableType
fromString
fun fromString(type: String): GrabbableType
Did you find this page helpful?
Thumbs up icon
Thumbs down icon