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

public class OctreeExtractor extends AbstractExtractSystem
Extracts octant data to render an octree with lines.
  • Constructor Details

    • OctreeExtractor

      public OctreeExtractor(com.badlogic.ashley.core.Family family, int priority)
  • Method Details

    • setRenderer

      public void setRenderer(ISceneRenderer renderer)
      Overrides:
      setRenderer in class AbstractExtractSystem
    • processEntity

      protected void processEntity(com.badlogic.ashley.core.Entity entity, float deltaTime)
      Specified by:
      processEntity in class com.badlogic.ashley.systems.IteratingSystem
    • addToRenderLists

      public void addToRenderLists(Base base, OctreeNode octant, ICamera camera)