SCE Gradient |
Print Previous Next |
Functions Provided By SCE Gradient This effect uses the following functions:
MADRIX 2.X To MADRIX 3.X Migration Hints The MADRIX 2.X effect SCE Color Ramp has been renamed to SCE Gradient in MADRIX 3.X. The following functions and constants are not supported anymore. Please follow the hints to migrate your macros.
This macro sets the direction to DIRECTION_RADIAL when the effect is started. Before the effect is rendered, the angle will be increased by 1 until 360 degrees is achieved. Then, it starts again with 0 degrees. As a result, the effect looks like a rotating radial gradient. @scriptname="Radial Gradient - Rotated"; @author="inoage GmbH"; @version=""; @description="";
int degree;
void InitEffect() { SetDirection(DIRECTION_RADIAL); degree = 0; }
void PreRenderEffect() { degree = (degree+1)%360; SetAngle(degree); }
void PostRenderEffect() {
}
void MatrixSizeChanged() { InitEffect(); }
|
MADRIX Version: 3.6j | Script Version: 2.22 |
[Ctrl & +/-] = Zoom In/Out | [Ctrl & 0] = 100% |
Print Previous Next |