de.jreality.io
Class JrScene
java.lang.Object
de.jreality.io.JrScene
public class JrScene
- extends java.lang.Object
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JrScene
public JrScene()
JrScene
public JrScene(SceneGraphComponent root)
addPath
public void addPath(java.lang.String name,
SceneGraphPath path)
addAttribute
public void addAttribute(java.lang.String name,
java.lang.Object attribute)
getSceneRoot
public SceneGraphComponent getSceneRoot()
setSceneRoot
public void setSceneRoot(SceneGraphComponent root)
getPath
public SceneGraphPath getPath(java.lang.String name)
- currently used:
- "cameraPath"
- "emptyPickPath"
- "avatarPath"
- "microphonePath" (not yet...)
- "contentPath" (not yet...)
- Parameters:
name
- the name of the SceneGraphPath
- Returns:
- the corresponding SceneGraphPath
getAttribute
public java.lang.Object getAttribute(java.lang.String name)
getScenePaths
public java.util.Map<java.lang.String,SceneGraphPath> getScenePaths()
getSceneAttributes
public java.util.Map<java.lang.String,java.lang.Object> getSceneAttributes()