OcclusionGraphSystem

OcclusionGraphSystem

Takes care of graph representing all the dinamically occluded objects in a scene.

Constructor

new OcclusionGraphSystem()

Members

_addedEntities :Array.<Entity>

Array of entities waiting to be added.

_octree :Octree

Scene's octree representation.

_octreeBuilt :boolean

Used for delaying octree creation until some entities have been added during the first frame.

_octreeCreated :boolean

Variable used to delay the octree building until we have provided it some acceptable bounds.

_removedEntities :Array.<Entity>

Array of entities waiting to be deleted.

_updatedEntities :Array.<Entity>

Array of entities waiting to be updated.