enum ReferenceSpace : Enum<ReferenceSpace>
scene.setReferenceSpace(ReferenceSpace.LOCAL_FLOOR)
| Name | Summary |
|---|---|
| Name | Summary |
|---|---|
name | val name: String |
ordinal | val ordinal: Int |
space | val space: Int Integer value corresponding to the native reference space type |
| Name | Summary |
|---|---|
valueOf | fun valueOf(value: String): ReferenceSpace 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<ReferenceSpace> Returns an array containing the constants of this enum type, in the order they’re declared. |