D3d.SetColor

From Nomad DB
Revision as of 22:13, 2 August 2020 by Jan (talk | contribs) (Created page with "Sets the current rendering color for shapes and text. {{Warning: This function can only be called from inside OnRender event!}} == Syntax == <synt...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Sets the current rendering color for shapes and text.

{{Warning: This function can only be called from inside OnRender event!}}

Syntax

d3d.SetColor(r, g, b[, a])
  • r, g, b: number (0-255)
  • a: number (0-255 Opacity, optional - default = 255)

Related Pages