NiPSysBoundUpdateModifier

From GECK
Jump to: navigation, search

NiPSysBoundUpdateModifier is a modifier for particle systems that updates the bounding volumes of particles to match their current positions. It is required for all particle systems.

A typical example of a NiPSysBoundUpdateModifier.

Its fields are:

  • Name: The name of the modifier.
  • Order: 7000 seems to be the only one used, it's a bound update 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.
  • Update Skip: Merges the current bound with the one from the last frame for every Nth particle for performance purposes. (i.e. if 5, then the fifth particle in the current system will have its update merged with the one from the previous frame.) If zero, every particle's bound will be updated every frame.

Notes

  • Particle systems are relatively light and infrequent enough that using Update Skip is unnecessary, but extremely particle dense areas may benefit from it.