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

OVRSemanticClassification Class

Extends MonoBehaviour, IOVRSceneComponent
Represents the semantic classification of a OVRSceneAnchor.
Scene anchors can have one or more string labels associated with them that describes what the anchor represents, such as COUCH, or DESK. See OVRSceneManager.Classification for a list of possible labels.

Static Fields

LabelSeparator : const char
Signature
const char OVRSemanticClassification.LabelSeparator

Properties

Labels : IReadOnlyList< string >
[Get]
A list of labels associated with an OVRSceneAnchor.
Signature
IReadOnlyList<string> OVRSemanticClassification.Labels

Methods

Contains ( label )
Searches Labels for the given label .
This method performs a linear search over the Labels.
Signature
bool OVRSemanticClassification.Contains(string label)
Parameters
label: string  The label to find
Returns
bool  Returns true if label exists in Labels.