Scripting

Search The Documentation:

  1. Home
  2. Docs
  3. Scripting
  4. Accessories
  5. accessoryColor

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:

1
obj.accessoryColor(name)
Tags
Was this article helpful to you? Yes No

How can we help?