WVR_IsOverArenaRange

WVR_EXPORT bool WVR_IsOverArenaRange()

Function to tell whether the user has almost reached the play area boundaries.

Use this function to determine whether the virtual wall should be showed or not.

Version
API Level 1
Return Value
  • true: User is almost at or outside the play area boundaries (The virtual wall should be showed.)
  • false: User is inside the play area.

How to use

Here is an example for the function:

#include <wvr/wvr_arena.h>
bool ret = WVR_IsOverArenaRange();