Scripting

Search The Documentation:

  1. Home
  2. Docs
  3. Scripting
  4. Particles
  5. setParticleColor

setParticleColor

Platform Compatibility

PC Mac OSX Oculus Quest
X X X

Set particle color, also accepts R,G,B,A

Parameters:

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

Example:

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

How can we help?