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

OVRScene Class

Functionality related to Scene Understanding.

Static Member Functions

Requests Space Setup.
Requests Space Setup. Space Setup pauses the application and prompts the user to setup their Space. The app resumes when the user either cancels or completes Space Setup.<parmaref name="labels"> is a collection of comma-separated list of semantic labels that the user must define during Space Setup. You may specify the same label multiple times. For example,
await RequestSpaceSetup("TABLE,TABLE");
would prompt the user to define two tables.See OVRSemanticLabels for creating the string.This method is asynchronous. The result of the task indicates whether the operation was successful. False usually indicates an unexpected failure; if the user cancels Space Setup, the operation still completes successfully.
Parameters
labels
The types of anchors that the user should define.
Returns
A task that can be used to track the asynchronous operation.
Exceptions
ArgumentException
Thrown if labels contains a label that is not one of those provided by OVRSemanticLabels.Classification
Requests Space Setup using a list of classifications (may be null or empty)
Requests Space Setup. Space Setup pauses the application and prompts the user to setup their Space. The app resumes when the user either cancels or completes Space Setup.If not null or empty, <parmaref name="classifications"> is a list of semantic labels that the user must define during Space Setup. You may specify the same label multiple times. For example,
await RequestSpaceSetup(new [] {Classification.Table, Classification.Table});
would prompt the user to define two tables.See OVRSemanticLabels.Classification for a list of all labels.This method is asynchronous. The result of the task indicates whether the operation was successful. False usually indicates an unexpected failure; if the user cancels Space Setup, the operation still completes successfully.
Parameters
classifications
(Optional) The types of anchors that the user should define.
Returns
A task that can be used to track the asynchronous operation.
Exceptions
ArgumentException
Thrown if classifications contains a label that is not one of those provided by OVRSemanticLabels.Classification
Did you find this page helpful?
Thumbs up icon
Thumbs down icon