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

OVRSemanticLabels Struct

Extends IOVRAnchorComponent< OVRSemanticLabels >, IEquatable< OVRSemanticLabels >
Descriptive labels of the OVRAnchor, as a list of enum values.
This component can be accessed from an OVRAnchor that supports it by calling OVRAnchor.GetComponent<T> from the anchor.
The semantic labels comonent is part of the Meta Quest Scene Model. Read more at Scene Overview.
See Also

Member Enumerations

Enumeration Classification

An enum that contains all possible classification values.
Floor
= 0
Ceiling
= 1
WallFace
= 2
Table
= 3
Couch
= 4
DoorFrame
= 5
WindowFrame
= 6
Other
= 7
Storage
= 8
Bed
= 9
Screen
= 10
Lamp
= 11
Plant
= 12
WallArt
= 13
SceneMesh
= 14
InvisibleWallFace
= 15

Public Statics

A null representation of an OVRSemanticLabels.
Use this to compare with another component to determine whether it is null.

Properties

Whether this object represents a valid anchor component.
True if this component is enabled and no change to its enabled status is pending.
SpaceComponentType Type[Get]
ulong Handle[Get]
Deprecated
Semantic Labels. Please use GetClassifications instead.
Returns
Returns comma-separated values in one string
Exceptions
Exception
If it fails to get the semantic labels

Member Functions

Compares this component for equality with other .
Parameters
other
The other component to compare with.
Returns
True if both components belong to the same OVRAnchor, otherwise false.
Compares this component for equality with obj .
Parameters
obj
The object to compare with.
Returns
True if obj is an OVRSemanticLabels and Equals(OVRSemanticLabels) is true, otherwise false.
Gets a hashcode suitable for use in a Dictionary or HashSet.
Returns
A hashcode for this component.
Gets a string representation of this component.
Returns
A string representation of this component.
Get the Semantic Labels.
Non-allocating.

Static Member Functions

Compares two components for equality.
Parameters
lhs
The component to compare with rhs .
rhs
The component to compare with lhs .
Returns
True if both components belong to the same OVRAnchor, otherwise false.
Compares two components for inequality.
Parameters
lhs
The component to compare with rhs .
rhs
The component to compare with lhs .
Returns
True if the components do not belong to the same OVRAnchor, otherwise false.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon