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
Modifier and Type Method Description void
dispose()
void
update(ITimeFrameProvider time, ICamera camera)
Updates the nodes of this scene graphMethods inherited from class gaiasky.scenegraph.AbstractSceneGraph
addNodeAuxiliaryInfo, addToIndex, containsNode, findFocus, getFocusableObjects, getNObjects, getNode, getNodes, getObjectPosition, getRoot, getSize, getStarMap, initialize, insert, matchingFocusableNodes, matchingFocusableNodes, remove, removeNodeAuxiliaryInfo
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
SceneGraph
public SceneGraph()
-
-
Method Details
-
update
Description copied from interface:ISceneGraph
Updates the nodes of this scene graph- 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
-