Motive Animation System
An open source project by FPL.
 All Classes Functions Variables Typedefs Friends Pages
MotiveEngine

The MotiveEngine is the gateway to the MotiveProcessors. When a Motivator is initialized, you must provide a reference to a MotiveEngine. The Motivator queries the MotiveEngine to initialize itself with the appropriate MotiveProcessor.

All Motivators under a MotiveEngine are updated at the same time, by calling MotiveEngine::AdvanceFrame(). This eliminates the overhead of updating every Motivator individually, and indeed, it provides many other opportunities for optimizations.

You can have several MotiveEngines in your program, if you like, but you will have the best performance by sticking to just one, if possible.