Class dnx.lr.SceneContext
All Packages Class Hierarchy This Package Previous Next Index
Class dnx.lr.SceneContext
java.lang.Object
|
+----dnx.util.DNXObject
|
+----dnx.util.DNXInstancedObject
|
+----dnx.lr.NodeTreeContext
|
+----dnx.lr.SingleRootContext
|
+----dnx.lr.SceneContext
- public class SceneContext
- extends SingleRootContext
SceneContext is a sanitized version of a Scene object which is
visible to nodes in the scene graph. You cannot get access to the
Scene object from the SceneContext -- get it from the Document or
some other place if you need it.
-
addRoute(Route)
- Interface to Scene method of same name.
-
addSyncNode(Node)
- Interface to Scene method of same name.
-
addTimeSensor(Node)
- Interface to Scene method of same name.
-
addTopLevelNode(Node)
-
-
bindNode(Node)
- Interface to Scene method of same name.
-
bindNodeInstance(NodeInstance)
- Interface to Scene method of same name.
-
countTopLevelNodes()
- Return the number of top-level nodes.
-
deleteAllTopLevelNodes()
-
-
deleteRoute(Route)
- Interface to Scene method of same name.
-
deleteTopLevelNode(Node)
-
-
getAudioClip(URL)
-
-
getBoundNodeInstance(Class)
- Interface to Scene method of same name.
-
getBoundNodeInstance(String)
- Interface to Scene method of same name.
-
getCurrentFrameRate()
- Interface to Scene method of same name.
-
getCurrentPass()
- Interface to Scene method of same name.
-
getCurrentSpeed()
- Interface to Scene method of same name.
-
getImage(URL)
-
-
getObserverEventMask()
- Interface to Scene method of same name.
-
getRoute(Node, int, Node, int)
- Interface to Scene method of same name.
-
getSceneContext()
- Return the SceneContext of the scene this context is attached to.
-
getSceneURL()
- Interface to Scene method of same name.
-
getTime()
- Interface to Scene method of same name.
-
getWorldInfo()
- Interface to Scene method of same name.
-
getWorldName()
- Interface to Scene method of same name.
-
hasFakeGroupRootNode()
-
-
inFrame()
- Interface to Scene method of same name.
-
isBound(Node)
- Interface to Scene method of same name.
-
isBound(NodeInstance)
- Interface to Scene method of same name.
-
isOnBindingStack(Node)
- Interface to Scene method of same name.
-
isOnBindingStack(NodeInstance)
- Interface to Scene method of same name.
-
queueBypassingEvent(Field, Node, int)
- Queue a "bypassing" event to be delivered to a node.
-
removeSyncNode(Node)
- Interface to Scene method of same name.
-
removeTimeSensor(Node)
- Interface to Scene method of same name.
-
setWorldInfo(String[])
- Interface to Scene method of same name.
-
setWorldName(String)
- Interface to Scene method of same name.
-
toString()
-
-
unbindNode(Node)
- Interface to Scene method of same name.
-
updateObservers(Object)
- Interface to Scene method of same name.
getSceneURL
public URL getSceneURL()
- Interface to Scene method of same name.
getSceneContext
public SceneContext getSceneContext()
- Return the SceneContext of the scene this context is attached to.
- Overrides:
- getSceneContext in class NodeTreeContext
setWorldName
public void setWorldName(String name)
- Interface to Scene method of same name.
getWorldName
public String getWorldName()
- Interface to Scene method of same name.
setWorldInfo
public void setWorldInfo(String info[])
- Interface to Scene method of same name.
getWorldInfo
public String[] getWorldInfo()
- Interface to Scene method of same name.
getCurrentSpeed
public float getCurrentSpeed()
- Interface to Scene method of same name.
getCurrentFrameRate
public float getCurrentFrameRate()
- Interface to Scene method of same name.
addTopLevelNode
public void addTopLevelNode(Node node)
deleteAllTopLevelNodes
public void deleteAllTopLevelNodes()
deleteTopLevelNode
public void deleteTopLevelNode(Node node)
countTopLevelNodes
public int countTopLevelNodes()
- Return the number of top-level nodes.
hasFakeGroupRootNode
public boolean hasFakeGroupRootNode()
isBound
public boolean isBound(NodeInstance inst)
- Interface to Scene method of same name.
isOnBindingStack
public boolean isOnBindingStack(NodeInstance inst)
- Interface to Scene method of same name.
isBound
public boolean isBound(Node node)
- Interface to Scene method of same name.
isOnBindingStack
public boolean isOnBindingStack(Node node)
- Interface to Scene method of same name.
bindNodeInstance
public void bindNodeInstance(NodeInstance inst)
- Interface to Scene method of same name.
bindNode
public void bindNode(Node node)
- Interface to Scene method of same name.
unbindNode
public boolean unbindNode(Node node)
- Interface to Scene method of same name.
getBoundNodeInstance
public NodeInstance getBoundNodeInstance(Class nodeClass)
- Interface to Scene method of same name.
getBoundNodeInstance
public NodeInstance getBoundNodeInstance(String nodeTypeName)
- Interface to Scene method of same name.
getImage
public Image getImage(URL url)
getAudioClip
public AudioClip getAudioClip(URL url)
addRoute
public void addRoute(Route r)
- Interface to Scene method of same name.
deleteRoute
public void deleteRoute(Route r)
- Interface to Scene method of same name.
getRoute
public Route getRoute(Node from,
int eventOut,
Node to,
int eventIn)
- Interface to Scene method of same name.
addTimeSensor
public void addTimeSensor(Node node)
- Interface to Scene method of same name.
removeTimeSensor
public void removeTimeSensor(Node node)
- Interface to Scene method of same name.
addSyncNode
public void addSyncNode(Node node)
- Interface to Scene method of same name.
removeSyncNode
public void removeSyncNode(Node node)
- Interface to Scene method of same name.
queueBypassingEvent
public void queueBypassingEvent(Field value,
Node node,
int eventIn)
- Queue a "bypassing" event to be delivered to a node.
This event bypasses routes and delivers directly to a particular
node. This exists to support some bogus aspects of the Script
interface.
getTime
public double getTime()
- Interface to Scene method of same name.
inFrame
public boolean inFrame()
- Interface to Scene method of same name.
getCurrentPass
public int getCurrentPass()
- Interface to Scene method of same name.
updateObservers
public void updateObservers(Object arg)
- Interface to Scene method of same name.
getObserverEventMask
public int getObserverEventMask()
- Interface to Scene method of same name.
toString
public String toString()
- Overrides:
- toString in class DNXInstancedObject
All Packages Class Hierarchy This Package Previous Next Index