|
Aviatrix3D 2.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.j3d.aviatrix3d.rendering.CullInstructions
public class CullInstructions
Container for returning the details about what should be culled from a
node that implements the Cullable
interface.
The data stored in this class is considered to be temporary only - it lasts just enough time to process the children for further cullable objects.
Field Summary | |
---|---|
Cullable[] |
children
The array of children nodes that are valid children for travering for further rendering. |
boolean |
hasTransform
Flag to indicate if the transform needs to be used from this class as part of the traversal of the scene graph. |
javax.vecmath.Matrix4f |
localTransform
The local transformation matrix that should be applied as part of the traversal process. |
int |
numChildren
The number of children to process from the list. |
Constructor Summary | |
---|---|
CullInstructions()
Initialise a new instance of this instruction. |
Method Summary | |
---|---|
void |
resizeChildren(int size)
Convenience method to resize the children array to be at least the required minimum size. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public Cullable[] children
public int numChildren
public boolean hasTransform
public javax.vecmath.Matrix4f localTransform
hasTransform
to false and ignore this matrix.
Constructor Detail |
---|
public CullInstructions()
Method Detail |
---|
public void resizeChildren(int size)
size
- The minimum length that this array should be
|
Aviatrix3D 2.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |