getXMLSimplified

Platform Compatibility PC Mac OSX Oculus Quest X X – Get if we are using simplified logins (no password, no extra data collection) returns a Boolean (true or false) value Example: 1obj.getXMLSimplified()

setXMLSimplified

Platform Compatibility PC Mac OSX Oculus Quest X X – Set if we are using simplified logins (no password, no extra data collection) Parameters: _tf A boolean value Example: 1obj.setXMLSimplified(_tf)

colorGLTF

Platform Compatibility PC Mac OSX Oculus Quest X X X Color a GLTF mesh if we have one Parameters: color A string value Example: 1obj.colorGLTF(color)

lightCookieScale

Platform Compatibility PC Mac OSX Oculus Quest X X – Get the size of the cookie texture on a directional light (does not work for other lights) Parameters: index Optional An integer value returns a Float (decimal number) value Example: 1obj.lightCookieScale(index)

setLightCookieScale

Platform Compatibility PC Mac OSX Oculus Quest X X – Set the size of the cookie texture on a directional light (does not work for other lights) Parameters: size A float value index Optional An integer value Example: 1obj.setLightCookieScale(size, index)

setLightCookie

Platform Compatibility PC Mac OSX Oculus Quest X X – Load a texture to be the cookie for the light, useful for effects such as shadows of a light passing through a fence or windowframe Parameters: texture A string value index Optional An integer value Example: 1obj.setLightCookie(texture, index)

downloadZip

Platform Compatibility PC Mac OSX Oculus Quest X X X Download a ZIP from the web or extract from a ZIP file to the StreamingAssets folder. Optionally load the ZIP as a level, with the choice to also “stack” the downloaded level on top of the current one. Note: If you are downloading a level … Read more downloadZip

mergeLevel

Platform Compatibility PC Mac OSX Oculus Quest X X X Load another level file on top of the current level, does not load its terrain or player start position, will not load objects with the flag –!NOEXPORT in their script Parameters: level A string value Example: 1obj.mergeLevel(level)

isOnCamera

Platform Compatibility PC Mac OSX Oculus Quest X X X Get whether mesh is seen by any camera, also applies to sprites or trail renderers if we don’t have a mesh renderer, otherwise false returns a Boolean (true or false) value Example: 1obj.isOnCamera()

storeTrigger

Platform Compatibility PC Mac OSX Oculus Quest X X X Store the most recent trigger if we have one, eg: after onTriggerEnter returns an Integer (whole number) value Example: 1obj.storeTrigger()