setAccessoryColor
Platform Compatibility PC Mac OSX Oculus Quest X X X Set the color of the accessory in R,G,B or R,G,B,A (only for lit format!) Parameters: name A string value color A string value Example: 1obj.setAccessoryColor(name, color)
McMaster University Virtual Reality Simulation and Research
Articles for coding in Artspark
Platform Compatibility PC Mac OSX Oculus Quest X X X Set the color of the accessory in R,G,B or R,G,B,A (only for lit format!) Parameters: name A string value color A string value Example: 1obj.setAccessoryColor(name, color)
Platform Compatibility PC Mac OSX Oculus Quest X X X Get the scale the accessory is offset at relative to its start in X,Y,Z Parameters: name A string value returns a String (text) value Example: 1obj.accesssoryOffsetScale(name)
Platform Compatibility PC Mac OSX Oculus Quest X X X Set the scale the accessory is offset at relative to its start in X,Y,Z Parameters: name A string value scale A string value Example: 1obj.setAccessoryOffsetScale(name, scale)
Platform Compatibility PC Mac OSX Oculus Quest X X X Get the rotation the accessory is offset at relative to its start in X,Y,Z Parameters: name A string value returns a String (text) value Example: 1obj.accesssoryOffsetEuler(name)
Platform Compatibility PC Mac OSX Oculus Quest X X X Set the rotation the accessory is offset at relative to its start in X,Y,Z Parameters: name A string value rotation A string value Example: 1obj.setAccessoryOffsetEuler(name, rotation)
Platform Compatibility PC Mac OSX Oculus Quest X X X Get the position the accessory is offset at relative to its start in X,Y,Z Parameters: name A string value returns a String (text) value Example: 1obj.accesssoryOffsetPos(name)
Platform Compatibility PC Mac OSX Oculus Quest X X X Set the position the accessory is offset at relative to its start in X,Y,Z Parameters: name A string value position A string value Example: 1obj.setAccessoryOffsetPos(name, position)
Platform Compatibility PC Mac OSX Oculus Quest X X X Get the scale the accessory starts at relative to its parent in X,Y,Z Parameters: name A string value returns a String (text) value Example: 1obj.accesssoryStartScale(name)
Platform Compatibility PC Mac OSX Oculus Quest X X X Set the scale the accessory starts at relative to its parent in X,Y,Z Parameters: name A string value scale A string value Example: 1obj.setAccessoryStartScale(name, scale)
Platform Compatibility PC Mac OSX Oculus Quest X X X Get the rotation the accessory starts at relative to its parent in X,Y,Z Parameters: name A string value returns a String (text) value Example: 1obj.accesssoryStartEuler(name)