API reference

LOCAL_FLOOR

LOCAL_FLOOR

LOCAL_FLOOR
Similar to LOCAL but takes into account the user’s height.
When recentering, this space updates the origin to the latest headset position while maintaining the correct relationship to the floor. This is the recommended space for Virtual Reality applications where floor-relative positioning is important.

Properties

NameSummary
name
val name: String
ordinal
val ordinal: Int
space
val space: Int

Integer value corresponding to the native reference space type