There was an error while loading. Please reload this page.
Reality()
Create a reality.
This is the first function to be called, it will initalize the immersive experience.
var myReality = new XR.Reality();
fps
int
fov
physics
bool
true
gravity
float
array
-10
[x,y,z]
y
position
near
0.1
far
1000
turn physics on or off see physics
if a single number, gravity will exist downward if an array, there can me multi-dimensional gravity [x_force,y_force,z_force]