|
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.pipeline.RenderEnvironmentData org.j3d.aviatrix3d.pipeline.graphics.GraphicsEnvironmentData
public class GraphicsEnvironmentData
Data holder class used to pass the current environment data along the rendering pipeline.
End-user code should never be making use of this class unless the end user is implementing a customised rendering pipeline. This class is used as a simple internal collection of the per-frame renderable data that is passed along each stage of the pipeline.
Field Summary | |
---|---|
ObjectRenderable |
background
The current background instance, if set |
double[] |
backgroundFrustum
The 6 values that define the frustum to render the background with. |
float[] |
backgroundTransform
Transform holding the background matrix, including all the projection information needed to cancel out translations and scales of the viewpoint projection matrix. |
float[] |
cameraTransform
The camera transformation matrix. |
RenderEffectsProcessor |
effectsProcessor
If set, use this to do pre and post rendered effects |
float[] |
eyeOffset
The amount of eye offset in use from the nominal middle. |
ObjectRenderable |
fog
The current fog instance |
float[] |
projectionMatrix
Represents custom projection matrix which was set in the ViewEnvironment by the user. |
int[] |
scissor
The current dimensions of the scissor area, if set. |
boolean |
useStereo
Flag to say whether this environment should be rendered using stereo or not. |
static int |
VIEW_HEIGHT
Index into the viewport size array for the height |
static int |
VIEW_WIDTH
Index into the viewport size array for the width |
static int |
VIEW_X
Index into the viewport size array for the X position |
static int |
VIEW_Y
Index into the viewport size array for the Y position |
double[] |
viewFrustum
The 6 values that define the view frustum. |
int[] |
viewport
The current dimensions of the viewport, if set. |
int |
viewProjectionType
The projection type - one of the values from ViewEnvironmentCullable. |
Fields inherited from class org.j3d.aviatrix3d.pipeline.RenderEnvironmentData |
---|
layerId, profilingData, subLayerId, userData, viewpoint, viewTransform |
Constructor Summary | |
---|---|
GraphicsEnvironmentData()
Create a new instance of this class. |
Method Summary | |
---|---|
void |
setScissor(int[] bounds)
Convenience method to set the scissor array from another array |
void |
setViewport(int[] bounds)
Convenience method to set the viewport array from another array |
java.lang.String |
toString()
Generate a string representation of this environment data. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int VIEW_X
public static final int VIEW_Y
public static final int VIEW_WIDTH
public static final int VIEW_HEIGHT
public RenderEffectsProcessor effectsProcessor
public ObjectRenderable fog
public ObjectRenderable background
public float[] eyeOffset
public double[] viewFrustum
public float[] projectionMatrix
public double[] backgroundFrustum
public int viewProjectionType
public boolean useStereo
public int[] viewport
public int[] scissor
public float[] backgroundTransform
public float[] cameraTransform
Constructor Detail |
---|
public GraphicsEnvironmentData()
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public void setViewport(int[] bounds)
bounds
- An array of at least length 4public void setScissor(int[] bounds)
bounds
- An array of at least length 4
|
Aviatrix3D 2.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |