WVR Scene¶
These APIs provide the way to access scene DS to manage the system resource of the scene perception and anchors.
#include <wvr/wvr_scene.h>
#include <wvr/wvr_anchor.h>
If you want to use scene mesh related features, you need declare and require the permission wave.permission.GET_SCENE_MESH in AndroidManifest.xml. This permission is belong to dangerous level. Please refer to Android developer guide Request runtime permissions to grant the permission in your application.
<uses-permission android:name="wave.permission.GET_SCENE_MESH" />
- WVR_StartScene
- WVR_StopScene
- WVR_CreateSpatialAnchor
- WVR_DestroySpatialAnchor
- WVR_EnumerateSpatialAnchors
- WVR_GetSpatialAnchorState
Developers should require wave.feature.sceneperception
“true” in AndroidManifest.xml to use the following APIs which are related scene perception feature and operation.
<uses-feature
android:name="wave.feature.sceneperception"
android:required="true" />
Note
Before using the scene perception feature, the developer must check whether the scene perception feature is supported or not through WVR Supported Features.