Line | |
---|
1 | /**********************************************************************
|
---|
2 | *<
|
---|
3 | oExporter plugin Private Beta (see License.txt)
|
---|
4 |
|
---|
5 | FILE: ogreAnimationCompiler.h
|
---|
6 |
|
---|
7 | DESCRIPTION: OE_XMLScene callbacks interface
|
---|
8 |
|
---|
9 | IMPLEMENTED BY: Lioric
|
---|
10 |
|
---|
11 | HISTORY:
|
---|
12 |
|
---|
13 | Original implementation by Lasse Tassing (Channex)
|
---|
14 | 2005 ITE ApS, Lasse Tassing
|
---|
15 |
|
---|
16 | *> Copyright (c) 2005, All Rights Reserved.
|
---|
17 | **********************************************************************/
|
---|
18 |
|
---|
19 |
|
---|
20 | #ifndef __XML_SCENE_CALLBACKS__
|
---|
21 | #define __XML_SCENE_CALLBACKS__
|
---|
22 |
|
---|
23 | // Callback interface. Use this if you want to set special properties on the
|
---|
24 | // objects during creation (and/or read custom attribute values).
|
---|
25 | class OSMSceneCallbacks
|
---|
26 | {
|
---|
27 | public:
|
---|
28 | virtual ~OSMSceneCallbacks() {};
|
---|
29 |
|
---|
30 | // Called when a node has been created
|
---|
31 | virtual void OnNodeCreate(Ogre::SceneNode *pNode, TiXmlElement* pNodeDesc) {};
|
---|
32 |
|
---|
33 | // Called when an entity has been created
|
---|
34 | virtual void OnEntityCreate(Ogre::Entity *pEntity, TiXmlElement* pEntityDesc) {};
|
---|
35 |
|
---|
36 | // Called when a camera has been created
|
---|
37 | virtual void OnCameraCreate(Ogre::Camera *pCamera, TiXmlElement* pCameraDesc) {};
|
---|
38 |
|
---|
39 | // Called when a light has been created
|
---|
40 | virtual void OnLightCreate(Ogre::Light *pLight, TiXmlElement* pLightDesc) {};
|
---|
41 | };
|
---|
42 |
|
---|
43 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.