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.

Method Index

 o addRoute(Route)
Interface to Scene method of same name.
 o addSyncNode(Node)
Interface to Scene method of same name.
 o addTimeSensor(Node)
Interface to Scene method of same name.
 o addTopLevelNode(Node)
 o bindNode(Node)
Interface to Scene method of same name.
 o bindNodeInstance(NodeInstance)
Interface to Scene method of same name.
 o countTopLevelNodes()
Return the number of top-level nodes.
 o deleteAllTopLevelNodes()
 o deleteRoute(Route)
Interface to Scene method of same name.
 o deleteTopLevelNode(Node)
 o getAudioClip(URL)
 o getBoundNodeInstance(Class)
Interface to Scene method of same name.
 o getBoundNodeInstance(String)
Interface to Scene method of same name.
 o getCurrentFrameRate()
Interface to Scene method of same name.
 o getCurrentPass()
Interface to Scene method of same name.
 o getCurrentSpeed()
Interface to Scene method of same name.
 o getImage(URL)
 o getObserverEventMask()
Interface to Scene method of same name.
 o getRoute(Node, int, Node, int)
Interface to Scene method of same name.
 o getSceneContext()
Return the SceneContext of the scene this context is attached to.
 o getSceneURL()
Interface to Scene method of same name.
 o getTime()
Interface to Scene method of same name.
 o getWorldInfo()
Interface to Scene method of same name.
 o getWorldName()
Interface to Scene method of same name.
 o hasFakeGroupRootNode()
 o inFrame()
Interface to Scene method of same name.
 o isBound(Node)
Interface to Scene method of same name.
 o isBound(NodeInstance)
Interface to Scene method of same name.
 o isOnBindingStack(Node)
Interface to Scene method of same name.
 o isOnBindingStack(NodeInstance)
Interface to Scene method of same name.
 o queueBypassingEvent(Field, Node, int)
Queue a "bypassing" event to be delivered to a node.
 o removeSyncNode(Node)
Interface to Scene method of same name.
 o removeTimeSensor(Node)
Interface to Scene method of same name.
 o setWorldInfo(String[])
Interface to Scene method of same name.
 o setWorldName(String)
Interface to Scene method of same name.
 o toString()
 o unbindNode(Node)
Interface to Scene method of same name.
 o updateObservers(Object)
Interface to Scene method of same name.

Methods

 o getSceneURL
  public URL getSceneURL()
Interface to Scene method of same name.
 o getSceneContext
  public SceneContext getSceneContext()
Return the SceneContext of the scene this context is attached to.
Overrides:
getSceneContext in class NodeTreeContext
 o setWorldName
  public void setWorldName(String name)
Interface to Scene method of same name.
 o getWorldName
  public String getWorldName()
Interface to Scene method of same name.
 o setWorldInfo
  public void setWorldInfo(String info[])
Interface to Scene method of same name.
 o getWorldInfo
  public String[] getWorldInfo()
Interface to Scene method of same name.
 o getCurrentSpeed
  public float getCurrentSpeed()
Interface to Scene method of same name.
 o getCurrentFrameRate
  public float getCurrentFrameRate()
Interface to Scene method of same name.
 o addTopLevelNode
  public void addTopLevelNode(Node node)
 o deleteAllTopLevelNodes
  public void deleteAllTopLevelNodes()
 o deleteTopLevelNode
  public void deleteTopLevelNode(Node node)
 o countTopLevelNodes
  public int countTopLevelNodes()
Return the number of top-level nodes.
 o hasFakeGroupRootNode
  public boolean hasFakeGroupRootNode()
 o isBound
  public boolean isBound(NodeInstance inst)
Interface to Scene method of same name.
 o isOnBindingStack
  public boolean isOnBindingStack(NodeInstance inst)
Interface to Scene method of same name.
 o isBound
  public boolean isBound(Node node)
Interface to Scene method of same name.
 o isOnBindingStack
  public boolean isOnBindingStack(Node node)
Interface to Scene method of same name.
 o bindNodeInstance
  public void bindNodeInstance(NodeInstance inst)
Interface to Scene method of same name.
 o bindNode
  public void bindNode(Node node)
Interface to Scene method of same name.
 o unbindNode
  public boolean unbindNode(Node node)
Interface to Scene method of same name.
 o getBoundNodeInstance
  public NodeInstance getBoundNodeInstance(Class nodeClass)
Interface to Scene method of same name.
 o getBoundNodeInstance
  public NodeInstance getBoundNodeInstance(String nodeTypeName)
Interface to Scene method of same name.
 o getImage
  public Image getImage(URL url)
 o getAudioClip
  public AudioClip getAudioClip(URL url)
 o addRoute
  public void addRoute(Route r)
Interface to Scene method of same name.
 o deleteRoute
  public void deleteRoute(Route r)
Interface to Scene method of same name.
 o getRoute
  public Route getRoute(Node from,
                        int eventOut,
                        Node to,
                        int eventIn)
Interface to Scene method of same name.
 o addTimeSensor
  public void addTimeSensor(Node node)
Interface to Scene method of same name.
 o removeTimeSensor
  public void removeTimeSensor(Node node)
Interface to Scene method of same name.
 o addSyncNode
  public void addSyncNode(Node node)
Interface to Scene method of same name.
 o removeSyncNode
  public void removeSyncNode(Node node)
Interface to Scene method of same name.
 o 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.
 o getTime
  public double getTime()
Interface to Scene method of same name.
 o inFrame
  public boolean inFrame()
Interface to Scene method of same name.
 o getCurrentPass
  public int getCurrentPass()
Interface to Scene method of same name.
 o updateObservers
  public void updateObservers(Object arg)
Interface to Scene method of same name.
 o getObserverEventMask
  public int getObserverEventMask()
Interface to Scene method of same name.
 o toString
  public String toString()
Overrides:
toString in class DNXInstancedObject

All Packages  Class Hierarchy  This Package  Previous  Next  Index