SLTemplateCallback Class Reference
A dotXSI template callback.
More...#include <Scene.h>
List of all members.
Detailed Description
A dotXSI template callback.
This structure allows to specify callbacks that must be call when a specific template is found. You may specify a callback for the following events:
PreLoadCallback ( Will be called before the entire is parsed)
This is useful for initialization needs
Callback ( Will be called when the template is found )
This is where most of the work should be done. This is where Semantic Layer object are created using the template passed and are attached to the Scene.
PostChilrenCallback ( Will be called when the template's children have been called )
This useful for resolving items within a model. For instance, if a parent template references on of it's children, you should resolve the references here.
PostLoadCallback ( Will be called when the file has been loaded entirly )
This is useful for resolving items within the entire scene.
- See also:
- CSLScene::RegisterCallback
The documentation for this class was generated from the following file: