1 #ifndef DOT_SCENELOADER_H
2 #define DOT_SCENELOADER_H
5 #include <Ogre/OgreString.h>
6 #include <Ogre/OgreVector3.h>
7 #include <Ogre/OgreQuaternion.h>
13 namespace SceneLoaderNode {
17 class Ogre::SceneManager;
28 nodeProperty(
const String &node,
const String &propertyName,
const String &value,
const String &type)
29 : nodeName(node), propertyNm(propertyName), valueName(value), typeName(type) {}
38 void parseDotScene(
const String &SceneName,
const String &groupName, SceneManager *yourSceneMgr,
SceneNode *pAttachNode = NULL,
const String &sPrependNode =
"");
39 String getProperty(
const String &ndNm,
const String &prop);
56 void processUserDataReference(
TiXmlElement *XMLNode, Entity *pEntity);
75 void processLightRange(
TiXmlElement *XMLNode, Light *pLight);
76 void processLightAttenuation(
TiXmlElement *XMLNode, Light *pLight);
78 String getAttrib(
TiXmlElement *XMLNode,
const String ¶meter,
const String &defaultValue =
"");
79 Real getAttribReal(
TiXmlElement *XMLNode,
const String ¶meter, Real defaultValue = 0);
80 bool getAttribBool(
TiXmlElement *XMLNode,
const String ¶meter,
bool defaultValue =
false);
94 #endif // DOT_SCENELOADER_H