Package gaiasky.scenegraph
Class SceneGraph
- java.lang.Object
-
- gaiasky.scenegraph.AbstractSceneGraph
-
- gaiasky.scenegraph.SceneGraph
-
- All Implemented Interfaces:
com.badlogic.gdx.utils.Disposable
,ISceneGraph
public class SceneGraph extends AbstractSceneGraph
Implementation of a 3D scene graph.
-
-
Field Summary
-
Fields inherited from class gaiasky.scenegraph.AbstractSceneGraph
hasOctree, hasStarGroup, hipMap, objectsPerThread, root, stringToNode
-
-
Constructor Summary
Constructors Constructor Description SceneGraph()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dispose()
void
update(ITimeFrameProvider time, ICamera camera)
Updates the nodes of this scene graph-
Methods inherited from class gaiasky.scenegraph.AbstractSceneGraph
addNodeAuxiliaryInfo, addToIndex, containsNode, findFocus, getFocusableObjects, getNObjects, getNode, getNodes, getObjectPosition, getRoot, getSize, getStarMap, initialize, insert, remove, removeNodeAuxiliaryInfo
-
-
-
-
Method Detail
-
update
public void update(ITimeFrameProvider time, ICamera camera)
Description copied from interface:ISceneGraph
Updates the nodes of this scene graph- Specified by:
update
in interfaceISceneGraph
- Overrides:
update
in classAbstractSceneGraph
- Parameters:
time
- The current time providercamera
- The current camera
-
dispose
public void dispose()
- Specified by:
dispose
in interfacecom.badlogic.gdx.utils.Disposable
- Overrides:
dispose
in classAbstractSceneGraph
-
-