WVR_SetArenaVisible

WVR_EXPORT void WVR_SetArenaVisible(WVR_ArenaVisible config)

Function to set virtual wall behavior.

In auto mode, it will show virtual wall while HMD is out of bounds. Force on mode will always show virtual wall. Force off mode will always disable virtual wall.

Parameters
  • config -

    The configuration of virtual wall behavior. (refer to WVR_ArenaVisible)

How to use

Here is an example for the function:

#include <wvr/wvr_arena.h>
uint32_t ieConfig = 0; // 0: Auto, 1: Force On, 2: Force Off
WVR_SetArenaVisible(static_cast<WVR_ArenaVisible>(ieConfig));

See also WVR_GetArenaVisible