deleteGlobalMaterial

Platform Compatibility PC Mac OSX Oculus Quest X X X Delete a global material so objects can’t use it, and/or to remake the material Parameters: name A string to identify the material, must be unique Example: 1obj.deleteGlobalMaterial("myMaterial")

getFPS

Platform Compatibility PC Mac OSX Oculus Quest X X X Get the frames per second (FPS) as a whole number returns an Integer (whole number) value Example: 1obj.getFPS()

noTurnVR

Platform Compatibility PC Mac OSX Oculus Quest X – X Disable controller rotation for VR. Example: 1obj.noTurnVR()

smoothTurnVR

Platform Compatibility PC Mac OSX Oculus Quest X – X Switch to smooth turning VR Example: 1obj.smooothTurnVR()

snapTurnVR

Platform Compatibility PC Mac OSX Oculus Quest X – X Switch to snap turning VR Example: 1obj.snapTurnVR()

getVRLeftHanded

Platform Compatibility PC Mac OSX Oculus Quest X – X Get VR handedness returns a Boolean (true or false) value Example: 1obj.getVRLeftHanded()

setVRLeftHanded

Platform Compatibility PC Mac OSX Oculus Quest X – X Swap VR handedness Parameters: _tf A boolean value Example: 1obj.setVRLeftHanded(_tf)

accessoryVisible

Platform Compatibility PC Mac OSX Oculus Quest X X X Get if an accessory is visible or not Parameters: name A string value returns a Boolean (true or false) value Example: 1obj.accessoryVisible(name)

setAccessoryVisible

Platform Compatibility PC Mac OSX Oculus Quest X X X Set if an accessory is visible or not Parameters: name A string value _tf A boolean value Example: 1obj.setAccessoryVisible(name, _tf)

accessoryColor

Platform Compatibility PC Mac OSX Oculus Quest X X X Get the color of the accessory in R,G,B,A if lit (otherwise returns white 1,1,1,1) Parameters: name A string value returns a String (text) value Example: 1obj.accessoryColor(name)