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

RoomLayout

RoomLayout

data class RoomLayout(var floor: UUID, var ceiling: UUID, var walls: Array<UUID>)
Represents the layout of a room detected in the physical environment.
Contains references to the floor, ceiling, and walls as separate anchors. This information is available for anchors with the SpaceComponentType.RoomLayout component.

Constructors

NameSummary
RoomLayout
constructor(floor: UUID, ceiling: UUID, walls: Array<UUID>)

Properties

NameSummary
ceiling
var ceiling: UUID

UUID of the anchor representing the ceiling
floor
var floor: UUID

UUID of the anchor representing the floor
walls
var walls: Array<UUID>

Array of UUIDs for anchors representing the walls
Did you find this page helpful?
Thumbs up icon
Thumbs down icon