C# Class Helper.DotSceneLoader

Afficher le fichier Open project: secred/Tachycardia

Méthodes publiques

Свойство Type Description
DynamicObjects List
StaticObjects List

Protected Properties

Свойство Type Description
mAttachNode SceneNode
mSceneMgr SceneManager
m_sGroupName String
m_sPrependNode String

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode 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 méthode

public DotSceneLoader ( ) : System
Résultat System

ParseDotScene() public méthode

public ParseDotScene ( String SceneName, String groupName, SceneManager yourSceneMgr ) : void
SceneName String
groupName String
yourSceneMgr SceneManager
Résultat void

ParseDotScene() public méthode

public ParseDotScene ( String SceneName, String groupName, SceneManager yourSceneMgr, SceneNode pAttachNode ) : void
SceneName String
groupName String
yourSceneMgr SceneManager
pAttachNode SceneNode
Résultat void

ParseDotScene() public méthode

public ParseDotScene ( String SceneName, String groupName, SceneManager yourSceneMgr, SceneNode pAttachNode, String sPrependNode ) : void
SceneName String
groupName String
yourSceneMgr SceneManager
pAttachNode SceneNode
sPrependNode String
Résultat void

ParseFloat() protected méthode

protected ParseFloat ( String s ) : float
s String
Résultat float

getAttrib() protected méthode

protected getAttrib ( XmlElement XMLNode, String attrib ) : String
XMLNode System.Xml.XmlElement
attrib String
Résultat String

getAttrib() protected méthode

protected getAttrib ( XmlElement XMLNode, String attrib, String defaultValue ) : String
XMLNode System.Xml.XmlElement
attrib String
defaultValue String
Résultat String

getAttribBool() protected méthode

protected getAttribBool ( XmlElement XMLNode, String parameter ) : bool
XMLNode System.Xml.XmlElement
parameter String
Résultat bool

getAttribBool() protected méthode

protected getAttribBool ( XmlElement XMLNode, String attrib, bool defaultValue ) : bool
XMLNode System.Xml.XmlElement
attrib String
defaultValue bool
Résultat bool

getAttribReal() protected méthode

protected getAttribReal ( XmlElement XMLNode, String parameter ) : float
XMLNode System.Xml.XmlElement
parameter String
Résultat float

getAttribReal() protected méthode

protected getAttribReal ( XmlElement XMLNode, String attrib, float defaultValue ) : float
XMLNode System.Xml.XmlElement
attrib String
defaultValue float
Résultat float

parseColour() protected méthode

protected parseColour ( XmlElement XMLNode ) : ColourValue
XMLNode System.Xml.XmlElement
Résultat ColourValue

parseQuaternion() protected méthode

protected parseQuaternion ( XmlElement XMLNode ) : Quaternion
XMLNode System.Xml.XmlElement
Résultat Quaternion

parseRotation() protected méthode

protected parseRotation ( XmlElement XMLNode ) : Quaternion
XMLNode System.Xml.XmlElement
Résultat Quaternion

parseVector3() protected méthode

protected parseVector3 ( XmlElement XMLNode ) : System.Vector3
XMLNode System.Xml.XmlElement
Résultat System.Vector3

parseVector3line() protected méthode

protected parseVector3line ( XmlElement XMLNode ) : System.Vector3
XMLNode System.Xml.XmlElement
Résultat System.Vector3

processCamera() protected méthode

protected processCamera ( XmlElement XMLNode, SceneNode pParent ) : void
XMLNode System.Xml.XmlElement
pParent SceneNode
Résultat void

processEntity() protected méthode

protected processEntity ( XmlElement XMLNode, SceneNode pParent ) : void
XMLNode System.Xml.XmlElement
pParent SceneNode
Résultat void

processEnvironment() protected méthode

protected processEnvironment ( XmlElement XMLNode ) : void
XMLNode System.Xml.XmlElement
Résultat void

processFog() protected méthode

protected processFog ( XmlElement XMLNode ) : void
XMLNode System.Xml.XmlElement
Résultat void

processLight() protected méthode

protected processLight ( XmlElement XMLNode, SceneNode pParent ) : void
XMLNode System.Xml.XmlElement
pParent SceneNode
Résultat void

processLightAttenuation() protected méthode

protected processLightAttenuation ( XmlElement XMLNode, Light pLight ) : void
XMLNode System.Xml.XmlElement
pLight Light
Résultat void

processLightRange() protected méthode

protected processLightRange ( XmlElement XMLNode, Light pLight ) : void
XMLNode System.Xml.XmlElement
pLight Light
Résultat void

processNode() protected méthode

protected processNode ( XmlElement XMLNode, SceneNode pParent ) : void
XMLNode System.Xml.XmlElement
pParent SceneNode
Résultat void

processNodes() protected méthode

protected processNodes ( XmlElement XMLNode ) : void
XMLNode System.Xml.XmlElement
Résultat void

processParticleSystem() protected méthode

protected processParticleSystem ( XmlElement XMLNode, SceneNode pParent ) : void
XMLNode System.Xml.XmlElement
pParent SceneNode
Résultat void

processPlane() protected méthode

protected processPlane ( XmlElement XMLNode, SceneNode pParent ) : void
XMLNode System.Xml.XmlElement
pParent SceneNode
Résultat void

processScene() protected méthode

protected processScene ( XmlElement XMLRoot ) : void
XMLRoot System.Xml.XmlElement
Résultat void

processUserDataReference() protected méthode

protected processUserDataReference ( XmlElement pElement ) : void
pElement System.Xml.XmlElement
Résultat void

Property Details

DynamicObjects public_oe property

public List DynamicObjects
Résultat List

StaticObjects public_oe property

public List StaticObjects
Résultat List

mAttachNode protected_oe property

protected SceneNode mAttachNode
Résultat SceneNode

mSceneMgr protected_oe property

protected SceneManager mSceneMgr
Résultat SceneManager

m_sGroupName protected_oe property

protected String m_sGroupName
Résultat String

m_sPrependNode protected_oe property

protected String m_sPrependNode
Résultat String