WVR_StartScene

WVR_EXPORT WVR_Result WVR_StartScene()

Function is used to start the scene and anchor features.

This API will start scene device service to manage the system resource of the scene perception and anchors.

Version
API Level 11
Return Value
  • WVR_Success: Start scene successfully.
  • others: WVR_Result mean failure.

How to use

Sample function:

#include <wvr/wvr_scene.h>

if (WVR_StartScene() == WVR_Success) {
    // WVR_StartScenePerception
    // ...

    WVR_StopScene();
} else {
    // start scene failed!
}