C# Class Helper.DotSceneLoader

Show file Open project: secred/Tachycardia

Public Properties

Property Type Description
DynamicObjects List
StaticObjects List

Protected Properties

Property Type Description
mAttachNode SceneNode
mSceneMgr SceneManager
m_sGroupName String
m_sPrependNode String

Public Methods

Method Description
DotSceneLoader ( ) : System
ParseDotScene ( String SceneName, String groupName, SceneManager yourSceneMgr ) : void
ParseDotScene ( String SceneName, String groupName, SceneManager yourSceneMgr, SceneNode pAttachNode ) : void
ParseDotScene ( String SceneName, String groupName, SceneManager yourSceneMgr, SceneNode pAttachNode, String sPrependNode ) : void

Protected Methods

Method Description
ParseFloat ( String s ) : float
getAttrib ( XmlElement XMLNode, String attrib ) : String
getAttrib ( XmlElement XMLNode, String attrib, String defaultValue ) : String
getAttribBool ( XmlElement XMLNode, String parameter ) : bool
getAttribBool ( XmlElement XMLNode, String attrib, bool defaultValue ) : bool
getAttribReal ( XmlElement XMLNode, String parameter ) : float
getAttribReal ( XmlElement XMLNode, String attrib, float defaultValue ) : float
parseColour ( XmlElement XMLNode ) : ColourValue
parseQuaternion ( XmlElement XMLNode ) : Quaternion
parseRotation ( XmlElement XMLNode ) : Quaternion
parseVector3 ( XmlElement XMLNode ) : System.Vector3
parseVector3line ( XmlElement XMLNode ) : System.Vector3
processCamera ( XmlElement XMLNode, SceneNode pParent ) : void
processEntity ( XmlElement XMLNode, SceneNode pParent ) : void
processEnvironment ( XmlElement XMLNode ) : void
processFog ( XmlElement XMLNode ) : void
processLight ( XmlElement XMLNode, SceneNode pParent ) : void
processLightAttenuation ( XmlElement XMLNode, Light pLight ) : void
processLightRange ( XmlElement XMLNode, Light pLight ) : void
processNode ( XmlElement XMLNode, SceneNode pParent ) : void
processNodes ( XmlElement XMLNode ) : void
processParticleSystem ( XmlElement XMLNode, SceneNode pParent ) : void
processPlane ( XmlElement XMLNode, SceneNode pParent ) : void
processScene ( XmlElement XMLRoot ) : void
processUserDataReference ( XmlElement pElement ) : void

Method Details

DotSceneLoader() public method

public DotSceneLoader ( ) : System
return System

ParseDotScene() public method

public ParseDotScene ( String SceneName, String groupName, SceneManager yourSceneMgr ) : void
SceneName String
groupName String
yourSceneMgr SceneManager
return void

ParseDotScene() public method

public ParseDotScene ( String SceneName, String groupName, SceneManager yourSceneMgr, SceneNode pAttachNode ) : void
SceneName String
groupName String
yourSceneMgr SceneManager
pAttachNode SceneNode
return void

ParseDotScene() public method

public ParseDotScene ( String SceneName, String groupName, SceneManager yourSceneMgr, SceneNode pAttachNode, String sPrependNode ) : void
SceneName String
groupName String
yourSceneMgr SceneManager
pAttachNode SceneNode
sPrependNode String
return void

ParseFloat() protected method

protected ParseFloat ( String s ) : float
s String
return float

getAttrib() protected method

protected getAttrib ( XmlElement XMLNode, String attrib ) : String
XMLNode System.Xml.XmlElement
attrib String
return String

getAttrib() protected method

protected getAttrib ( XmlElement XMLNode, String attrib, String defaultValue ) : String
XMLNode System.Xml.XmlElement
attrib String
defaultValue String
return String

getAttribBool() protected method

protected getAttribBool ( XmlElement XMLNode, String parameter ) : bool
XMLNode System.Xml.XmlElement
parameter String
return bool

getAttribBool() protected method

protected getAttribBool ( XmlElement XMLNode, String attrib, bool defaultValue ) : bool
XMLNode System.Xml.XmlElement
attrib String
defaultValue bool
return bool

getAttribReal() protected method

protected getAttribReal ( XmlElement XMLNode, String parameter ) : float
XMLNode System.Xml.XmlElement
parameter String
return float

getAttribReal() protected method

protected getAttribReal ( XmlElement XMLNode, String attrib, float defaultValue ) : float
XMLNode System.Xml.XmlElement
attrib String
defaultValue float
return float

parseColour() protected method

protected parseColour ( XmlElement XMLNode ) : ColourValue
XMLNode System.Xml.XmlElement
return ColourValue

parseQuaternion() protected method

protected parseQuaternion ( XmlElement XMLNode ) : Quaternion
XMLNode System.Xml.XmlElement
return Quaternion

parseRotation() protected method

protected parseRotation ( XmlElement XMLNode ) : Quaternion
XMLNode System.Xml.XmlElement
return Quaternion

parseVector3() protected method

protected parseVector3 ( XmlElement XMLNode ) : System.Vector3
XMLNode System.Xml.XmlElement
return System.Vector3

parseVector3line() protected method

protected parseVector3line ( XmlElement XMLNode ) : System.Vector3
XMLNode System.Xml.XmlElement
return System.Vector3

processCamera() protected method

protected processCamera ( XmlElement XMLNode, SceneNode pParent ) : void
XMLNode System.Xml.XmlElement
pParent SceneNode
return void

processEntity() protected method

protected processEntity ( XmlElement XMLNode, SceneNode pParent ) : void
XMLNode System.Xml.XmlElement
pParent SceneNode
return void

processEnvironment() protected method

protected processEnvironment ( XmlElement XMLNode ) : void
XMLNode System.Xml.XmlElement
return void

processFog() protected method

protected processFog ( XmlElement XMLNode ) : void
XMLNode System.Xml.XmlElement
return void

processLight() protected method

protected processLight ( XmlElement XMLNode, SceneNode pParent ) : void
XMLNode System.Xml.XmlElement
pParent SceneNode
return void

processLightAttenuation() protected method

protected processLightAttenuation ( XmlElement XMLNode, Light pLight ) : void
XMLNode System.Xml.XmlElement
pLight Light
return void

processLightRange() protected method

protected processLightRange ( XmlElement XMLNode, Light pLight ) : void
XMLNode System.Xml.XmlElement
pLight Light
return void

processNode() protected method

protected processNode ( XmlElement XMLNode, SceneNode pParent ) : void
XMLNode System.Xml.XmlElement
pParent SceneNode
return void

processNodes() protected method

protected processNodes ( XmlElement XMLNode ) : void
XMLNode System.Xml.XmlElement
return void

processParticleSystem() protected method

protected processParticleSystem ( XmlElement XMLNode, SceneNode pParent ) : void
XMLNode System.Xml.XmlElement
pParent SceneNode
return void

processPlane() protected method

protected processPlane ( XmlElement XMLNode, SceneNode pParent ) : void
XMLNode System.Xml.XmlElement
pParent SceneNode
return void

processScene() protected method

protected processScene ( XmlElement XMLRoot ) : void
XMLRoot System.Xml.XmlElement
return void

processUserDataReference() protected method

protected processUserDataReference ( XmlElement pElement ) : void
pElement System.Xml.XmlElement
return void

Property Details

DynamicObjects public property

public List DynamicObjects
return List

StaticObjects public property

public List StaticObjects
return List

mAttachNode protected property

protected SceneNode mAttachNode
return SceneNode

mSceneMgr protected property

protected SceneManager mSceneMgr
return SceneManager

m_sGroupName protected property

protected String m_sGroupName
return String

m_sPrependNode protected property

protected String m_sPrependNode
return String