getSunAngle

Platform Compatibility PC Mac OSX Oculus Quest X X X Get the sun angle in X,Y,Z returns a String (text) value Example: 1obj.getSunAngle()

setSunAngle

Platform Compatibility PC Mac OSX Oculus Quest X X X Set the sun angle in X (or optionally X,Y,Z) Parameters: angle A string value Example: 1obj.setSunAngle(angle)

loadTerrainHeightmap

Platform Compatibility PC Mac OSX Oculus Quest X X X Try to load a 513×513 terrain image to replace terrain height values, with optional multiplier into terrain values Parameters: filename A string value scale Optional A float value Example: 1obj.loadTerrainHeightmap(filename, scale = 1f)

showTerrain

Platform Compatibility PC Mac OSX Oculus Quest X X X Show or hide the terrain? Parameters: _tf A boolean value Example: 1obj.showTerrain(_tf)

setVRTeleport

Platform Compatibility PC Mac OSX Oculus Quest X – X Set if VR teleporting is on Parameters: _tf A boolean value Example: 1obj.setVRTeleport(_tf)

thirdPersonMouse

Platform Compatibility PC Mac OSX Oculus Quest X X – Switch to the 3rd person mouse only view if not VR Example: 1obj.thirdPersonMouse()

firstPerson

Platform Compatibility PC Mac OSX Oculus Quest X X – Switch to the first person walk view if not VR Example: 1obj.firstPerson()

firstPersonFly

Platform Compatibility PC Mac OSX Oculus Quest X X – Switch to the first person fly view if not VR Example: 1obj.firstPersonFly()

thirdPerson

Platform Compatibility PC Mac OSX Oculus Quest X X – Switch to the default 3rd person keyboard/controller view if not VR Example: 1obj.thirdPerson()

enableShadows

Platform Compatibility PC Mac OSX Oculus Quest X X X Set shadows on or off Parameters: _tf A boolean value Example: 1obj.enableShadows(_tf)