Difference between revisions of "D3d.SetColor"

From Nomad DB
(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...")
(No difference)

Revision as of 22:13, 2 August 2020

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