Untitled Document

InterpolatorID = SP ADD RGBA INTERPOLATOR (GroupID , born , death , typeFlag)
DESCRIPTION:

Adds an RGBA iterpolator to a Group.RGBA Interpolators works exacly as Param interpolators except that they use DWORD color values as parameters instead of floats , and they have no PARAM parameter (as RGBA Interpolators only interpolates the color parameter of the particles ) You can generate dword colors with SP RGBA(red,green,blue,alpha) command or set hex values e.g 0xFFAC32FF

The 1st creates a Simple interpolator which can be a random (typeFlag = 1 , random numbers between born and death) or linear (typeFlag = 0 linear transition from born to death#)

The 2nd version is a random interpolator (Particles are born with a random number between minBorn# and maxBorn# and creates a linear transition to a random number between minDeath# to maxDeath#).

The 3rd version sets the PARAM to constant for each particle in this group.

PARAMETERS:

- GroupID - The ID of the Group
- born - dword value.The color value at particles birth.
- death - dword value.The color value at particles death
- minBorn - dword value. The Minimum color value at particles birth.
- maxBorn - dword value. The Maximum color value at particles birth
- minDeath - dword value. The Minimum color value at particles death
- maxDeath - dword value. The Maximum color value at particles death

BACK TO MAIN HELP
BACK TO INTERPOLATOR HELP
InterpolatorID = SP ADD RGBA INTERPOLATOR (GroupID , minBorn , maxBorn , minDeath , maxDeath)
InterpolatorID = SP ADD RGBA INTERPOLATOR (GroupID , constantValue )