C# Class PCZDemo.RoomObject

显示文件 Open project: WolfgangSt/axiom Class Usage Examples

Public Methods

Method Description
addMaterial ( string mat, ColorEx clr, SceneBlendType sbt ) : void
createPoints ( Vector3 dimensions, Vector3 doorDimensions ) : void
createPortals ( SceneManager scene, Entity room, SceneNode roomNode, PCZone zone, short doorFlags, bool isEnclosure ) : void
createPortals ( SceneManager scene, ManualObject room, SceneNode roomNode, PCZone zone, short doorFlags, bool isEnclosure ) : void
createRoom ( SceneManager scene, string name, short doorFlags, bool isEnclosure, Vector3 dimensions, Vector3 doorDimensions ) : ManualObject
createTestBuilding ( SceneManager scene, string name ) : PCZSceneNode
createWalls ( ManualObject room, short doorFlags, bool isEnclosure ) : void

Method Details

addMaterial() public method

public addMaterial ( string mat, ColorEx clr, SceneBlendType sbt ) : void
mat string
clr Axiom.Core.ColorEx
sbt SceneBlendType
return void

createPoints() public method

public createPoints ( Vector3 dimensions, Vector3 doorDimensions ) : void
dimensions Vector3
doorDimensions Vector3
return void

createPortals() public method

public createPortals ( SceneManager scene, Entity room, SceneNode roomNode, PCZone zone, short doorFlags, bool isEnclosure ) : void
scene Axiom.Core.SceneManager
room Entity
roomNode Axiom.Core.SceneNode
zone Axiom.SceneManagers.PortalConnected.PCZone
doorFlags short
isEnclosure bool
return void

createPortals() public method

public createPortals ( SceneManager scene, ManualObject room, SceneNode roomNode, PCZone zone, short doorFlags, bool isEnclosure ) : void
scene Axiom.Core.SceneManager
room ManualObject
roomNode Axiom.Core.SceneNode
zone Axiom.SceneManagers.PortalConnected.PCZone
doorFlags short
isEnclosure bool
return void

createRoom() public method

public createRoom ( SceneManager scene, string name, short doorFlags, bool isEnclosure, Vector3 dimensions, Vector3 doorDimensions ) : ManualObject
scene Axiom.Core.SceneManager
name string
doorFlags short
isEnclosure bool
dimensions Vector3
doorDimensions Vector3
return ManualObject

createTestBuilding() public method

public createTestBuilding ( SceneManager scene, string name ) : PCZSceneNode
scene Axiom.Core.SceneManager
name string
return Axiom.SceneManagers.PortalConnected.PCZSceneNode

createWalls() public method

public createWalls ( ManualObject room, short doorFlags, bool isEnclosure ) : void
room ManualObject
doorFlags short
isEnclosure bool
return void