Null
: readonly OVRSemanticLabels |
A null representation of an OVRSemanticLabels.
Use this to compare with another component to determine whether it is null.
Signature
readonly OVRSemanticLabels OVRSemanticLabels.Null |
Handle
: ulong IOVRAnchorComponent< OVRSemanticLabels >.
[Get] |
Signature
ulong IOVRAnchorComponent<OVRSemanticLabels>. OVRSemanticLabels.Handle |
IsEnabled
: bool
[Get] |
True if this component is enabled and no change to its enabled status is pending.
Signature
bool OVRSemanticLabels.IsEnabled |
IsNull
: bool
[Get] |
Whether this object represents a valid anchor component.
Signature
bool OVRSemanticLabels.IsNull |
Labels
: string
[Get] |
Semantic Labels.
Please use GetClassifications instead.
Signature
string OVRSemanticLabels.Labels |
Type
: SpaceComponentType IOVRAnchorComponent< OVRSemanticLabels >.
[Get] |
Signature
SpaceComponentType IOVRAnchorComponent<OVRSemanticLabels>. OVRSemanticLabels.Type |
Equals
(
other
)
|
Compares this component for equality with other .
Signature
bool OVRSemanticLabels.Equals(OVRSemanticLabels other) Parameters |
Equals
(
obj
)
|
Compares this component for equality with obj .
Signature
override bool OVRSemanticLabels.Equals(object obj) Parameters obj: object
The object to compare with.
Returns override bool
True if obj is an OVRSemanticLabels and Equals(OVRSemanticLabels) is true, otherwise false.
|
FromAnchor
(
anchor
)
|
Signature
OVRSemanticLabels IOVRAnchorComponent< OVRSemanticLabels >. OVRSemanticLabels.FromAnchor(OVRAnchor anchor) Parameters anchor: OVRAnchor |
GetClassifications
(
classifications
)
|
Get the Semantic Labels.
Non-allocating.
Signature
void OVRSemanticLabels.GetClassifications(ICollection< Classification > classifications) Parameters classifications: ICollection< Classification >Returns void |
GetHashCode
()
|
Gets a hashcode suitable for use in a Dictionary or HashSet.
Signature
override int OVRSemanticLabels.GetHashCode() Returns override int
A hashcode for this component.
|
SetEnabledAsync
(
enabled
, timeout
)
|
Signature
OVRTask< bool > IOVRAnchorComponent< OVRSemanticLabels >. OVRSemanticLabels.SetEnabledAsync(bool enabled, double timeout) Parameters enabled: booltimeout: doubleReturns OVRTask< bool > IOVRAnchorComponent< OVRSemanticLabels >. |
ToString
()
|
Gets a string representation of this component.
Signature
override string OVRSemanticLabels.ToString() Returns override string
A string representation of this component.
|
operator!=
(
lhs
, rhs
)
|
Compares two components for inequality.
Signature
static bool OVRSemanticLabels.operator!=(OVRSemanticLabels lhs, OVRSemanticLabels rhs) Parameters |
operator==
(
lhs
, rhs
)
|
Compares two components for equality.
Signature
static bool OVRSemanticLabels.operator==(OVRSemanticLabels lhs, OVRSemanticLabels rhs) Parameters |
| Member | Value |
|---|---|
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 |