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)
McMaster University Virtual Reality Simulation and Research
Articles for coding in Artspark
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)
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())
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)
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
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)
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)
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()
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)
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()
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()