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

OVRScene Class

Low-level functionality related to Scene Understanding.
Scene empowers you to quickly build complex and scene-aware experiences with rich interactions in the user’s physical environment.
See Unity Scene Overview for more details.

Static Member Functions

Requests Space Setup.
<parmaref name="labels"> is collection of comma-separated semantic labels that the user must define during Space Setup. You may specify the same label multiple times. For example, this code:
await OVRScene.RequestSpaceSetup("TABLE,TABLE");
would prompt the user to define two tables.
Parameters
labels
The types of anchors that the user should define.
Returns
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.
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.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.
Returns
A task that can be used to track the asynchronous operation.
Requests Space Setup using a list of classifications.
Parameters
classifications
The types of anchors that the user should define.
Returns
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