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

OVRSemanticLabels Struct

Descriptive labels of the OVRAnchor, as comma separated strings.
OVRSemanticLabels extends IOVRAnchorComponent< OVRSemanticLabels >.
OVRSemanticLabels extends IEquatable< OVRSemanticLabels >.

Overview

Properties

SpaceComponentType IOVRAnchorComponent< OVRSemanticLabels >.
Type[Get]
Handle[Get]
bool
IsNull[Get]
Whether this object represents a valid anchor component.
bool
True if this component is enabled and no change to its enabled status is pending.
SpaceComponentType
Type[Get]
ulong
Handle[Get]
string
Labels[Get]
Semantic Labels.

Static Fields

static readonly OVRSemanticLabels
Null[Get]
A null representation of an OVRSemanticLabels.

Public Member Functions

FromAnchor
( OVRAnchor anchor )
SetEnabledAsync
( bool enabled,
double timeout )
bool
Compares this component for equality with other .
override bool
Equals
( object obj )
Compares this component for equality with obj .
override int
Gets a hashcode suitable for use in a Dictionary or HashSet.
override string
Gets a string representation of this component.

Static Public Member Functions

static bool
Compares two components for equality.
static bool
Compares two components for inequality.

Details

Detailed Description

This component can be accessed from an OVRAnchor that supports it by calling OVRAnchor.GetComponent<T> from the anchor.
See Also:

Properties

SpaceComponentType IOVRAnchorComponent<OVRSemanticLabels>. OVRSemanticLabels.Type
No description available.
ulong IOVRAnchorComponent<OVRSemanticLabels>. OVRSemanticLabels.Handle
No description available.
bool OVRSemanticLabels.IsNull
Whether this object represents a valid anchor component.
bool OVRSemanticLabels.IsEnabled
True if this component is enabled and no change to its enabled status is pending.
SpaceComponentType OVRSemanticLabels.Type
No description available.
ulong OVRSemanticLabels.Handle
No description available.
string OVRSemanticLabels.Labels
Semantic Labels.
Returns
Comma-separated values in one string
Exceptions
Exception
If it fails to get the semantic labels

Public Statics

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

Member Functions

OVRSemanticLabels IOVRAnchorComponent< OVRSemanticLabels >. OVRSemanticLabels.FromAnchor
( OVRAnchor anchor )
No description available.
OVRTask< bool > IOVRAnchorComponent< OVRSemanticLabels >. OVRSemanticLabels.SetEnabledAsync
( bool enabled,
double timeout )
No description available.
bool OVRSemanticLabels.Equals
( OVRSemanticLabels other )
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.
override bool OVRSemanticLabels.Equals
( object obj )
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.
override int OVRSemanticLabels.GetHashCode ( )
Gets a hashcode suitable for use in a Dictionary or HashSet.
Returns
A hashcode for this component.
override string OVRSemanticLabels.ToString ( )
Gets a string representation of this component.
Returns
A string representation of this component.

Static Member Functions

static bool OVRSemanticLabels.operator==
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.
static bool OVRSemanticLabels.operator!=
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?