NiPSysColorModifier

From GECK
Jump to: navigation, search

NiPSysColorModifier is a modifier for particle systems that adjusts the RGBA values of particles using interpolated color data supplied by a NiColorData block, letting you tint and fade in and out particles over their lifespan.

An example of a planar NiPSysColorModifier.

Its fields are:

  • Name: The name of the modifier.
  • Order: 3000 seems to be the only one used, it's a "general modifier" flag.
  • Target: The particle system you wish to affect.
  • Active: If the modifier is enabled. You can animate this value by specifying the name of the modifier as the Controller ID in a NiControllerSequence and using a NiPSysModifierActiveCtlr as a controller with a NiBoolTimelineInterpolator as the interpolator.
  • Data: The NiColorData block you want to interpolate color data from.