Command Panel Input
 
 
 

A plug-in is responsible for implementing two methods that manage the beginning and ending of user input in the command panel: Animatable::BeginEditParams() and Animatable::EndEditParams(). Animatable::BeginEditParams() is called by the system when the user may edit the entities parameters (this may be during creation or when modifying an existing entity). It is responsible for adding rollup pages to the panel, and registering the rollup page with the system. The method to add a rollup page is called with a dialog procedure function.

The Animatable::EndEditParams() method is called when the user is finished editing an object's parameters. The system passes a flag into the Animatable::EndEditParams() method to indicate if the rollup page should be removed. If this flag is TRUE, the plug-in must unregister the page, and delete it from the panel. In some cases, the rollup page for the object should stay in the command panel. For example, if the user is done creating a world space modifier its Animatable::EndEditParams() method is called. However the user may wish to create another world space modifier, so the rollup page is not immediately removed.