deleteAccessory

Platform Compatibility PC Mac OSX Oculus Quest X X X Delete an accessory if it exists Parameters: name A string value Example: 1obj.deleteAccessory(name)

listAccessories

Platform Compatibility PC Mac OSX Oculus Quest X X X Get the list of accessories as a string returns a String (text) value Example: 12–List all accessories obj.debugLog(obj.listAccessories())

accessoryExists

Platform Compatibility PC Mac OSX Oculus Quest X X X Check if an accessory already exists Parameters: name A string value returns a Boolean (true or false) value Example: 1obj.accessoryExists(name)

addAccessory

Platform Compatibility PC Mac OSX Oculus Quest X X X Add an accessory with a unique name, and optional texture, position, rotation, and scale relative to parent. Accessories are 3D billboard photo attachments that can be used to simulate animations and special effects on an object through code. They can also be linked together for … Read more addAccessory

setStoredCustomName

Platform Compatibility PC Mac OSX Oculus Quest X X X Set the custom name for a stored object Parameters: index Optional An integer value name A string value Example: 1obj.setStoredCustomName(index, name)

getStoredCustomName

Platform Compatibility PC Mac OSX Oculus Quest X X X Get the custom name from a stored object Parameters: index Optional An integer value returns a String (text) value Example: 1obj.getStoredCustomName(index)

GetLoadTime

Platform Compatibility PC Mac OSX Oculus Quest X X – Get the level load time in seconds returns a Float (decimal number) value Example: 1obj.GetLoadTime()

SetLoadTime

Platform Compatibility PC Mac OSX Oculus Quest X X – Set the level load time in seconds Parameters: time A float value Example: 1obj.SetLoadTime(time)

getFogColor

Platform Compatibility PC Mac OSX Oculus Quest X X X Get fog color in R,G,B,A returns a String (text) value Example: 1obj.getFogColor()

getFogEnd

Platform Compatibility PC Mac OSX Oculus Quest X X X Get fog end distance away from the camera returns a Float (decimal number) value Example: 1obj.getFogEnd()