WVR_IsOverArenaRange

WVR_EXPORT bool WVR_IsOverArenaRange()

Function to tell whether user reached play area boundary.

Uses this function to decide whether the virtual wall should be showed to player or not.

Return Value
  • true -

    User is reaching or outside play area boundary (The virtual wall should be showed to player.)

  • 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();