C# Class Axiom.SceneManagers.Bsp.BspSceneNode

This specialisation of Axiom.Core.SceneNode is to enable information about the leaf node in which any attached objects are held is stored for use in the visibility determination.

Do not confuse this class with Plugin_BSPSceneManager.BspNode, which reflects nodes in the BSP tree itself. This class is just like a regular Axiom.Core.SceneNode, except that it should be locating Plugin_BSPSceneManager.BspNode leaf elements which objects should be included in. Note that because objects are movable, and thus may very well be overlapping the boundaries of more than one leaf, that it is possible that an object attached to one Plugin_BSPSceneManager.BspSceneNode may actually be associated with more than one BspNode.

Inheritance: Axiom.Core.SceneNode
显示文件 Open project: WolfgangSt/axiom Class Usage Examples

Public Methods

Method Description
BspSceneNode ( SceneManager creator ) : System
BspSceneNode ( SceneManager creator, string name ) : System
DetachAllObjects ( ) : void
DetachObject ( Axiom.Core.MovableObject obj ) : void

Protected Methods

Method Description
Update ( bool updateChildren, bool parentHasChanged ) : void

Method Details

BspSceneNode() public method

public BspSceneNode ( SceneManager creator ) : System
creator Axiom.Core.SceneManager
return System

BspSceneNode() public method

public BspSceneNode ( SceneManager creator, string name ) : System
creator Axiom.Core.SceneManager
name string
return System

DetachAllObjects() public method

public DetachAllObjects ( ) : void
return void

DetachObject() public method

public DetachObject ( Axiom.Core.MovableObject obj ) : void
obj Axiom.Core.MovableObject
return void

Update() protected method

protected Update ( bool updateChildren, bool parentHasChanged ) : void
updateChildren bool
parentHasChanged bool
return void