RequestSpaceSetup
(
labels
)
|
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.
Signature
static OVRTask< bool > RequestSpaceSetup(string labels) Parameters labels: stringÂ
The types of anchors that the user should define.
Throws ArgumentExceptionÂ
Thrown if labels contains a label that is not one of those provided by OVRSemanticLabels.Classification |
RequestSpaceSetup
()
|
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.
Signature
static OVRTask< bool > RequestSpaceSetup() |
RequestSpaceSetup
(
classifications
)
|
Requests Space Setup using a list of classifications.
Signature
static OVRTask< bool > RequestSpaceSetup(IReadOnlyList< OVRSemanticLabels.Classification > classifications) Parameters classifications: IReadOnlyList< OVRSemanticLabels.Classification >Â
The types of anchors that the user should define.
Throws ArgumentExceptionÂ
Thrown if classifications contains a label that is not one of those provided by OVRSemanticLabels.Classification |