pub struct SpatialComponentTypeEXT(/* private fields */);Expand description
Implementations§
Source§impl SpatialComponentTypeEXT
impl SpatialComponentTypeEXT
Sourcepub const BOUNDED_2D: SpatialComponentTypeEXT
pub const BOUNDED_2D: SpatialComponentTypeEXT
Component that provides the 2D bounds for a spatial entity. Corresponding list structure is XrSpatialComponentBounded2DListEXT; Corresponding data structure is XrSpatialBounded2DDataEXT
Sourcepub const BOUNDED_3D: SpatialComponentTypeEXT
pub const BOUNDED_3D: SpatialComponentTypeEXT
Component that provides the 3D bounds for a spatial entity. Corresponding list structure is XrSpatialComponentBounded3DListEXT; Corresponding data structure is XrBoxf
Sourcepub const PARENT: SpatialComponentTypeEXT
pub const PARENT: SpatialComponentTypeEXT
Component that provides the XrSpatialEntityIdEXT of the parent for a spatial entity. Corresponding list structure is XrSpatialComponentParentListEXT; Corresponding data structure is XrSpatialEntityIdEXT
Sourcepub const MESH_3D: SpatialComponentTypeEXT
pub const MESH_3D: SpatialComponentTypeEXT
Component that provides a 3D mesh for a spatial entity. Corresponding list structure is XrSpatialComponentMesh3DListEXT; Corresponding data structure is XrSpatialMeshDataEXT
Sourcepub const PLANE_ALIGNMENT: SpatialComponentTypeEXT
pub const PLANE_ALIGNMENT: SpatialComponentTypeEXT
Component that provides the plane alignment enum for a spatial entity. Corresponding list structure is XrSpatialComponentPlaneAlignmentListEXT; Corresponding data structure is XrSpatialPlaneAlignmentEXT
Sourcepub const MESH_2D: SpatialComponentTypeEXT
pub const MESH_2D: SpatialComponentTypeEXT
Component that provides a 2D mesh for a spatial entity. Corresponding list structure is XrSpatialComponentMesh2DListEXT; Corresponding data structure is XrSpatialMeshDataEXT
Sourcepub const POLYGON_2D: SpatialComponentTypeEXT
pub const POLYGON_2D: SpatialComponentTypeEXT
Component that provides a 2D boundary polygon for a spatial entity. Corresponding list structure is XrSpatialComponentPolygon2DListEXT; Corresponding data structure is XrSpatialPolygon2DDataEXT
Sourcepub const PLANE_SEMANTIC_LABEL: SpatialComponentTypeEXT
pub const PLANE_SEMANTIC_LABEL: SpatialComponentTypeEXT
Component that provides a semantic label for a plane. Corresponding list structure is XrSpatialComponentPlaneSemanticLabelListEXT; Corresponding data structure is XrSpatialPlaneSemanticLabelEXT
Sourcepub const MARKER: SpatialComponentTypeEXT
pub const MARKER: SpatialComponentTypeEXT
A component describing the marker type, id and location. Corresponding list structure is XrSpatialComponentMarkerListEXT; Corresponding data structure is XrSpatialMarkerDataEXT
Sourcepub const ANCHOR: SpatialComponentTypeEXT
pub const ANCHOR: SpatialComponentTypeEXT
Component that provides the location for an anchor. Corresponding list structure is XrSpatialComponentAnchorListEXT; Corresponding data structure is XrPosef
Sourcepub const PERSISTENCE: SpatialComponentTypeEXT
pub const PERSISTENCE: SpatialComponentTypeEXT
Component that provides the persisted UUID for a spatial entity. Corresponding list structure is XrSpatialComponentPersistenceListEXT; Corresponding data structure is XrSpatialPersistenceDataEXT
pub fn from_raw(x: i32) -> Self
pub fn into_raw(self) -> i32
Trait Implementations§
Source§impl Clone for SpatialComponentTypeEXT
impl Clone for SpatialComponentTypeEXT
Source§fn clone(&self) -> SpatialComponentTypeEXT
fn clone(&self) -> SpatialComponentTypeEXT
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more