Rgbatrans (call target)

From Final Fantasy XII Wiki
Revision as of 20:42, 11 September 2019 by Admin (talk | contribs) (Created page with "{{Call|id=0x03b2|return=void|name=rgbatrans|args=float r, float g, float b, float a, int time|act=true}}Transitions a model bound to a script to RGBA values over <code>time</c...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Signature:

void rgbatrans(float r, float g, float b, float a, int time); // id: 0x03b2
//or in a context of another script
void scriptName.rgbatrans(float r, float g, float b, float a, int time); // id: 0x03b2

Transitions a model bound to a script to RGBA values over time. One unit of time equals 100ms.

Typical r, g, b and a values are within 0.0-1.0. If color values are above 1.0, they become oversaturated.