Difference between revisions of "Rgbatrans (call target)"
Jump to navigation
Jump to search
(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...") |
(No difference)
|
Revision as of 20:42, 11 September 2019
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: 0x03b2Transitions 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.