|
Aviatrix3D 2.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.j3d.aviatrix3d.SceneGraphObject
org.j3d.aviatrix3d.ViewportLayer
public abstract class ViewportLayer
An abstract layer definition for per-viewport layer rendering.
A layer is a composite of objects that are applied in a sequential manner to the given surface, within one specific viewport. Between each layer the depth buffer is cleared and a new rendering is applied directly over the top of the previous. Colour buffers or other buffers are not cleared.
Implementation Notes
Even though this class is almost identical to the Layer
class, a
separate heirarchy is defined so that users cannot accidently use viewport
layers at the root of the scene graph, and vice versa.
Field Summary | |
---|---|
static int |
FLAT
The layer is a 2D type, having only 2D rendering used |
protected int |
layerType
The layer type constant |
static int |
MULTIPASS
The layer contains multipass rendering |
static int |
SIMPLE
The layer is a simple type, having single scene defined |
protected int |
viewHeight
The width of the viewport in pixels |
protected int |
viewWidth
The width of the viewport in pixels |
protected int |
viewX
The lower left X position of the viewpoint, in pixels |
protected int |
viewY
The lower left Y position of the viewpoint, in pixels |
Fields inherited from class org.j3d.aviatrix3d.SceneGraphObject |
---|
alive, LISTENER_SET_TIMING_ERR_PROP, updateHandler |
Constructor Summary | |
---|---|
protected |
ViewportLayer(int type)
Construct a new layer of the given type. |
Method Summary | |
---|---|
int |
getType()
Get the type that this layer represents |
Methods inherited from class org.j3d.aviatrix3d.SceneGraphObject |
---|
checkForCyclicChild, checkForCyclicParent, dataChanged, getAppUpdateWriteTimingMessage, getBoundsWriteTimingMessage, getDataWriteTimingMessage, getUserData, isLive, setLive, setUpdateHandler, setUserData |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int SIMPLE
public static final int FLAT
public static final int MULTIPASS
protected final int layerType
protected int viewX
protected int viewY
protected int viewWidth
protected int viewHeight
Constructor Detail |
---|
protected ViewportLayer(int type)
type
- The type constant for this layerMethod Detail |
---|
public int getType()
|
Aviatrix3D 2.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |