Class OctreeExtractor
java.lang.Object
com.badlogic.ashley.core.EntitySystem
com.badlogic.ashley.systems.IteratingSystem
gaiasky.scene.system.render.extract.AbstractExtractSystem
gaiasky.scene.system.render.extract.OctreeExtractor
Extracts octant data to render an octree with lines.
-
Field Summary
Fields inherited from class gaiasky.scene.system.render.extract.AbstractExtractSystem
camera, renderer, renderLists, view
Fields inherited from class com.badlogic.ashley.core.EntitySystem
priority
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addToRenderLists
(Base base, OctreeNode octant, ICamera camera) protected void
processEntity
(com.badlogic.ashley.core.Entity entity, float deltaTime) void
setRenderer
(ISceneRenderer renderer) Methods inherited from class gaiasky.scene.system.render.extract.AbstractExtractSystem
addToRender, extract, isInRender, isInRender, mustRender, removeFromRender
Methods inherited from class com.badlogic.ashley.systems.IteratingSystem
addedToEngine, getEntities, getFamily, removedFromEngine, update
Methods inherited from class com.badlogic.ashley.core.EntitySystem
checkProcessing, getEngine, setProcessing
-
Constructor Details
-
OctreeExtractor
public OctreeExtractor(com.badlogic.ashley.core.Family family, int priority)
-
-
Method Details
-
setRenderer
- Overrides:
setRenderer
in classAbstractExtractSystem
-
processEntity
protected void processEntity(com.badlogic.ashley.core.Entity entity, float deltaTime) - Specified by:
processEntity
in classcom.badlogic.ashley.systems.IteratingSystem
-
addToRenderLists
-