|
Aviatrix3D 2.0 Dev |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.j3d.aviatrix3d.pipeline.RenderEnvironmentData
org.j3d.aviatrix3d.pipeline.graphics.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 | |
Background |
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. |
Fog |
fog
The current fog instance |
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 ViewEnvironment. |
Fields inherited from class org.j3d.aviatrix3d.pipeline.RenderEnvironmentData |
layerId, subLayerId, userData, viewpoint, viewTransform |
Constructor Summary | |
GraphicsEnvironmentData()
Create a new instance of this class. |
Method Summary | |
void |
setViewport(int[] bounds)
Convenience method to set the bounds 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 Fog fog
public Background background
public float[] eyeOffset
public double[] viewFrustum
public double[] backgroundFrustum
public int viewProjectionType
public boolean useStereo
public int[] viewport
public float[] backgroundTransform
public float[] cameraTransform
Constructor Detail |
public GraphicsEnvironmentData()
Method Detail |
public java.lang.String toString()
public void setViewport(int[] bounds)
bounds
- An array of at least length 4
|
Aviatrix3D 2.0 Dev |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |