Using Color Controls |
Print Previous Next |
Functions Provided For Using Colors
Some effects, such as »SCE Color or »SCE Wave / Radial, only support one particular color at a time. Then, make use of the following functions:
This macro example sets a random generated color each time the effect is started. @scriptname=""; @author=""; @version=""; @description="";
void InitEffect() { color c; c.r = random(0,255); c.g = random(0,255); c.b = random(0,255); c.w = 0; c.a = 0;
SetColor(c); }
void PreRenderEffect() {
}
void PostRenderEffect() {
}
void MatrixSizeChanged() { InitEffect(); }
|
MADRIX Version: 3.6j | Script Version: 2.22 |
[Ctrl & +/-] = Zoom In/Out | [Ctrl & 0] = 100% |
Print Previous Next |