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

OVRSemanticClassification Class

Represents the semantic classification of a OVRSceneAnchor.
OVRSemanticClassification extends MonoBehaviour.
OVRSemanticClassification extends IOVRSceneComponent.

Overview

Static Fields

static const char

Properties

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

Public Member Functions

bool
Contains
( string label )
Searches Labels for the given label .

Details

Detailed Description

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.

Public Statics

const char OVRSemanticClassification.LabelSeparator
No description available.

Properties

IReadOnlyList<string> OVRSemanticClassification.Labels
A list of labels associated with an OVRSceneAnchor.
Exceptions
ArgumentNullException

Member Functions

bool OVRSemanticClassification.Contains
( string label )
Searches Labels for the given label .
This method performs a linear search over the Labels.
Parameters
label
The label to find
Returns
Returns true if label exists in Labels.
Did you find this page helpful?