Aviatrix3D
2.1.0

org.j3d.aviatrix3d.rendering
Class RenderableInstructions

java.lang.Object
  extended by org.j3d.aviatrix3d.rendering.RenderableInstructions

public class RenderableInstructions
extends java.lang.Object

Container for returning the details about what should be rendered from a node that implements the CustomRenderable interface.

The data stored in this class is considered to be temporary only - it lasts just enough time to process the children for renderable objects to be passed to the sort stage.

Version:
$Revision: 2.2 $
Author:
Justin Couch

Field Summary
 boolean hasTransform
          Flag to indicate if the transform needs to be used from this class as part of the traversal of the scene graph.
 java.lang.Object instructions
          Any local data that may need to be passed around.
 javax.vecmath.Matrix4f localTransform
          The local transformation matrix that should be applied as part of the traversal process.
 
Constructor Summary
RenderableInstructions()
          Initialise a new instance of this instruction.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

hasTransform

public boolean hasTransform
Flag to indicate if the transform needs to be used from this class as part of the traversal of the scene graph.


localTransform

public javax.vecmath.Matrix4f localTransform
The local transformation matrix that should be applied as part of the traversal process. If no transformation is needed. then set hasTransform to false and ignore this matrix.


instructions

public java.lang.Object instructions
Any local data that may need to be passed around. Not useful for the Cullable users, but good for RenderableCustomObject that may need to pass specific instructions back to itself during the rendering loop.

Constructor Detail

RenderableInstructions

public RenderableInstructions()
Initialise a new instance of this instruction.


Aviatrix3D
2.1.0

Latest Info from http://aviatrix3d.j3d.org/
Copyright © 2003 - 2009 j3d.org