C# Класс 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.

Наследование: Axiom.Core.SceneNode
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
BspSceneNode ( SceneManager creator ) : System
BspSceneNode ( SceneManager creator, string name ) : System
DetachAllObjects ( ) : void
DetachObject ( Axiom.Core.MovableObject obj ) : void

Защищенные методы

Метод Описание
Update ( bool updateChildren, bool parentHasChanged ) : void

Описание методов

BspSceneNode() публичный Метод

public BspSceneNode ( SceneManager creator ) : System
creator Axiom.Core.SceneManager
Результат System

BspSceneNode() публичный Метод

public BspSceneNode ( SceneManager creator, string name ) : System
creator Axiom.Core.SceneManager
name string
Результат System

DetachAllObjects() публичный Метод

public DetachAllObjects ( ) : void
Результат void

DetachObject() публичный Метод

public DetachObject ( Axiom.Core.MovableObject obj ) : void
obj Axiom.Core.MovableObject
Результат void

Update() защищенный Метод

protected Update ( bool updateChildren, bool parentHasChanged ) : void
updateChildren bool
parentHasChanged bool
Результат void