SpaceComponentType
enum SpaceComponentType : Enum<Anchor.SpaceComponentType>
Defines the types of components that can be associated with a space/anchor.
Each component type provides different capabilities or information about the space. Components can be enabled or disabled using the scene.setSpaceComponentStatus method.
| Name | Summary |
|---|
| LocatableIndicates the space can be located (positioned) in the physical environment. |
| StorableIndicates the space can be stored persistently. |
| SharableIndicates the space can be shared with other devices/users. |
| Bounded2DIndicates the space has a 2D boundary. |
| Bounded3DIndicates the space has a 3D boundary. |
| SemanticLabelsIndicates the space has semantic labels describing what it represents. |
| RoomLayoutIndicates the space contains room layout information. |
| |
| TriangleMeshIndicates the space has an associated triangle mesh. |
| Name | Summary |
|---|
name | val name: String |
ordinal | val ordinal: Int |
value | val value: Int
Integer value corresponding to the native OpenXR component type |
| Name | Summary |
|---|
valueOf | fun valueOf(value: String): Anchor.SpaceComponentType
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<Anchor.SpaceComponentType>
Returns an array containing the constants of this enum type, in the order they’re declared. |