|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IViewport
| Method Summary | |
|---|---|
void |
_clearUpdatedFlag()
|
long |
_getNumRenderedBatches()
Gets the number of rendered batches in the last update. |
long |
_getNumRenderedFaces()
Gets the number of rendered faces in the last update. |
IRenderQueueInvocationSequence |
_getRenderQueueInvocationSequence()
|
boolean |
_isUpdated()
|
void |
_updateDimensions()
Notifies the viewport of a possible change in dimensions. |
void |
getActualDimensions(IntegerPointer left,
IntegerPointer top,
IntegerPointer width,
IntegerPointer height)
Access to actual dimensions (based on target size). |
int |
getActualHeight()
Gets one of the actual dimensions of the viewport, a value in pixels. |
int |
getActualLeft()
Gets one of the actual dimensions of the viewport, a value in pixels. |
int |
getActualTop()
Gets one of the actual dimensions of the viewport, a value in pixels. |
int |
getActualWidth()
Gets one of the actual dimensions of the viewport, a value in pixels. |
IColourValue |
getBackgroundColour()
Gets the background colour. |
ICamera |
getCamera()
Retrieves a pointer to the camera for this viewport. |
long |
getClearBuffers()
Gets which buffers are to be cleared each frame. |
boolean |
getClearEveryFrame()
Determines if the viewport is cleared before every frame. |
float |
getHeight()
Gets one of the relative dimensions of the viewport, a value between 0.0 and 1.0. |
float |
getLeft()
Gets one of the relative dimensions of the viewport, a value between 0.0 and 1.0. |
java.lang.String |
getMaterialScheme()
Get the material scheme which the viewport should use. |
boolean |
getOverlaysEnabled()
Returns whether or not objects (created in the ) are displayed in this viewport. |
java.lang.String |
getRenderQueueInvocationSequenceName()
Gets the name of the render queue invocation sequence for this target. |
boolean |
getShadowsEnabled()
Returns whether or not shadows (defined in the ) are displayed in this viewport. |
boolean |
getSkiesEnabled()
Returns whether or not skies (created in the ) are displayed in this viewport. |
IRenderTarget |
getTarget()
Retrieves a pointer to the render target for this viewport. |
float |
getTop()
Gets one of the relative dimensions of the viewport, a value between 0.0 and 1.0. |
long |
getVisibilityMask()
Gets a per-viewport visibility mask. |
float |
getWidth()
Gets one of the relative dimensions of the viewport, a value between 0.0 and 1.0. |
int |
getZOrder()
Gets the Z-Order of this viewport. |
void |
setBackgroundColour(IColourValue colour)
Sets the initial background colour of the viewport (before rendering). |
void |
setCamera(ICamera cam)
Sets the camera to use for rendering to this viewport. |
void |
setClearEveryFrame(boolean clear,
long buffers)
Determines whether to clear the viewport before rendering. |
void |
setDimensions(float left,
float top,
float width,
float height)
Sets the dimensions (after creation). |
void |
setMaterialScheme(java.lang.String schemeName)
Set the material scheme which the viewport should use. |
void |
setOverlaysEnabled(boolean enabled)
Tells this viewport whether it should display objects. |
void |
setRenderQueueInvocationSequenceName(java.lang.String sequenceName)
Sets the use of a custom for rendering this target. |
void |
setShadowsEnabled(boolean enabled)
Tells this viewport whether it should display shadows. |
void |
setSkiesEnabled(boolean enabled)
Tells this viewport whether it should display skies. |
void |
setVisibilityMask(long mask)
Sets a per-viewport visibility mask. |
void |
update()
Instructs the viewport to updates its contents. |
| Methods inherited from interface org.xbig.base.INativeObject |
|---|
delete, disconnectFromNativeObject, getInstancePointer, setInstancePointer, setInstancePointer, setInstancePointer |
| Method Detail |
|---|
void _updateDimensions()
void update()
IRenderTarget getTarget()
ICamera getCamera()
void setCamera(ICamera cam)
int getZOrder()
float getLeft()
float getTop()
float getWidth()
float getHeight()
int getActualLeft()
int getActualTop()
int getActualWidth()
int getActualHeight()
void setDimensions(float left,
float top,
float width,
float height)
void setBackgroundColour(IColourValue colour)
IColourValue getBackgroundColour()
void setClearEveryFrame(boolean clear,
long buffers)
boolean getClearEveryFrame()
long getClearBuffers()
void setMaterialScheme(java.lang.String schemeName)
java.lang.String getMaterialScheme()
void getActualDimensions(IntegerPointer left,
IntegerPointer top,
IntegerPointer width,
IntegerPointer height)
boolean _isUpdated()
void _clearUpdatedFlag()
long _getNumRenderedFaces()
long _getNumRenderedBatches()
void setOverlaysEnabled(boolean enabled)
boolean getOverlaysEnabled()
void setSkiesEnabled(boolean enabled)
boolean getSkiesEnabled()
void setShadowsEnabled(boolean enabled)
boolean getShadowsEnabled()
void setVisibilityMask(long mask)
long getVisibilityMask()
void setRenderQueueInvocationSequenceName(java.lang.String sequenceName)
java.lang.String getRenderQueueInvocationSequenceName()
IRenderQueueInvocationSequence _getRenderQueueInvocationSequence()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||