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 voiddispose()voidupdate(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, removeNodeAuxiliaryInfoMethods 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:ISceneGraphUpdates the nodes of this scene graph- Parameters:
time- The current time providercamera- The current camera
-
dispose
public void dispose()- Specified by:
disposein interfacecom.badlogic.gdx.utils.Disposable- Overrides:
disposein classAbstractSceneGraph
-