Scripting

Search The Documentation:

  1. Home
  2. Docs
  3. Scripting
  4. Drawing
  5. setTrailColor

setTrailColor

Platform Compatibility

PC Mac OSX Oculus Quest
X X X

Set the trail color, also accepts string R,G,B,A format

Parameters:

  • r
    • A float value
  • g
    • A float value
  • b
    • A float value
  • a
    • A float value

Example:

1
obj.setTrailColor(r, g, b, a)
Tags
Was this article helpful to you? Yes No

How can we help?