data class Anchor(var handle: Long, var uuid: UUID)
Anchor
(
handle
, uuid
)
|
Signature
constructor(handle: Long, uuid: UUID) Parameters
handle:
Long
uuid:
UUID
Returns |
handle
: Long
[Get][Set] |
Native handle to the underlying OpenXR space object
Signature
var handle: Long |
uuid
: UUID
[Get][Set] |
Unique identifier for this anchor
Signature
var uuid: UUID |
data class FetchOptions(var uuids: Array<UUID> = arrayOf(), var componentTypes: Array<Anchor.SpaceComponentType> = arrayOf())
FetchOptions
(
uuids
, componentTypes
)
|
Signature
constructor(uuids: Array<UUID> = arrayOf(), componentTypes: Array<Anchor.SpaceComponentType> = arrayOf()) Parameters
uuids:
Array
componentTypes:
Array
Returns
Anchor.FetchOptions
|
componentTypes
: Array
[Get][Set] |
Array of component types to filter anchors by capability
Signature
var componentTypes: Array<Anchor.SpaceComponentType> |
uuids
: Array
[Get][Set] |
Array of UUIDs to fetch specific anchors
Signature
var uuids: Array<UUID> |
data class RoomLayout(var floor: UUID, var ceiling: UUID, var walls: Array<UUID>)
RoomLayout
(
floor
, ceiling
, walls
)
|
Signature
constructor(floor: UUID, ceiling: UUID, walls: Array<UUID>) Parameters
floor:
UUID
ceiling:
UUID
walls:
Array
Returns
Anchor.RoomLayout
|
ceiling
: UUID
[Get][Set] |
UUID of the anchor representing the ceiling
Signature
var ceiling: UUID |
floor
: UUID
[Get][Set] |
UUID of the anchor representing the floor
Signature
var floor: UUID |
walls
: Array
[Get][Set] |
Array of UUIDs for anchors representing the walls
Signature
var walls: Array<UUID> |
data class SpaceTriangleMesh(val vertices: Array<Vector3>, val indices: IntArray)
SpaceTriangleMesh
(
vertices
, indices
)
|
Signature
constructor(vertices: Array<Vector3>, indices: IntArray) Parameters
vertices:
Array
indices:
IntArray
Returns
Anchor.SpaceTriangleMesh
|
indices
: IntArray
[Get] |
Integer array defining the triangle indices (groups of 3 indices form triangles)
Signature
val indices: IntArray |
vertices
: Array
[Get] |
Array of 3D positions defining the mesh vertices
Signature
val vertices: Array<Vector3> |
enum SpaceComponentType : Enum<Anchor.SpaceComponentType>
| Member | Description |
|---|---|
Locatable |
Indicates the space can be located (positioned) in the physical environment.
|
Storable |
Indicates the space can be stored persistently.
|
Sharable |
Indicates the space can be shared with other devices/users.
|
Bounded2D |
Indicates the space has a 2D boundary.
|
Bounded3D |
Indicates the space has a 3D boundary.
|
SemanticLabels |
Indicates the space has semantic labels describing what it represents.
|
RoomLayout |
Indicates the space contains room layout information.
|
SpaceContainer |
Indicates the space can contain other spaces.
|
TriangleMesh |
Indicates the space has an associated triangle mesh.
|
value
: Int
[Get] |
Integer value corresponding to the native OpenXR component type
Signature
val value: Int |