de.jreality.io
Class JrScene
java.lang.Object
de.jreality.io.JrScene
public class JrScene
- extends Object
JrScene
public JrScene()
JrScene
public JrScene(SceneGraphComponent root)
addPath
public void addPath(String name,
SceneGraphPath path)
addAttribute
public void addAttribute(String name,
Object attribute)
getSceneRoot
public SceneGraphComponent getSceneRoot()
setSceneRoot
public void setSceneRoot(SceneGraphComponent root)
getPath
public SceneGraphPath getPath(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 Object getAttribute(String name)
getScenePaths
public Map<String,SceneGraphPath> getScenePaths()
getSceneAttributes
public Map<String,Object> getSceneAttributes()