C4 Engine Terathon Software C4 Engine API Documentation

• Effect Manager

API Links
Developer Links

Effect::Move

Defined in:  C4Effects.h
Called once per frame to move an effect.
Prototype

virtual void Move(void);

Description
The Move function is called once per frame to allow an effect to perform any necessary movement. An effect may safely delete itself inside this function if desired.

Any type of processing that only needs to be done when the effect is known to be visible should be postponed until the Effect::Render function is called. This saves computation when the effect is not visible or is occluded.
See Also

Effect::Render