Class dnx.lr.app.View
All Packages Class Hierarchy This Package Previous Next Index
Class dnx.lr.app.View
java.lang.Object
|
+----dnx.util.DNXObject
|
+----dnx.util.DNXInstancedObject
|
+----dnx.lr.app.View
- public class View
- extends DNXInstancedObject
-
camera
-
-
frameRendering
-
-
nexus
-
-
state
-
-
View(Nexus)
-
-
getCamera()
-
-
getFrameRendering()
-
-
getNexus()
-
-
getRenderState()
-
-
reconcileViewPositions()
-
-
redisplay()
-
-
reparent(Nexus)
-
-
setCamera(Camera, boolean)
- Set the camera.
-
setCamera(NodeInstance, boolean)
-
-
setFrameRendering(boolean)
- Set whether the view will be rendered during a scene frame.
nexus
protected Nexus nexus
camera
protected Camera camera
state
protected RenderState state
frameRendering
protected boolean frameRendering
View
public View(Nexus nexus)
reparent
public void reparent(Nexus nexus)
getNexus
public Nexus getNexus()
getCamera
public Camera getCamera()
getRenderState
public RenderState getRenderState()
getFrameRendering
public boolean getFrameRendering()
setFrameRendering
public void setFrameRendering(boolean value)
- Set whether the view will be rendered during a scene frame.
Normally this is true, but you can turn it off for performance
reasons.
setCamera
public void setCamera(Camera cam,
boolean jump)
- Set the camera. If the camera is null, a default view
is generated based on the bounding box of the nexus's root
node. If JUMP is true, jump to the position and override
collision detection; otherwise, do collision detection along
the path of movement.
reconcileViewPositions
public void reconcileViewPositions()
setCamera
public void setCamera(NodeInstance inst,
boolean jump)
redisplay
public abstract void redisplay()
All Packages Class Hierarchy This Package Previous Next Index