|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IOverlay
| Nested Class Summary | |
|---|---|
static interface |
IOverlay.IOverlay2DElementsIterator
|
static interface |
IOverlay.IOverlayContainerList
|
| Method Summary | |
|---|---|
void |
_findVisibleObjects(ICamera cam,
IRenderQueue queue)
Internal method to put the overlay contents onto the render queue. |
void |
_getWorldTransforms(IMatrix4 xform)
Used to transform the overlay when scrolling, scaling etc. |
void |
_notifyOrigin(java.lang.String origin)
|
void |
add2D(IOverlayContainer cont)
Adds a 2D 'container' to the overlay. |
void |
add3D(ISceneNode node)
Adds a node capable of holding 3D objects to the overlay. |
void |
clear()
Clears the overlay of all attached items. |
IOverlayElement |
findElementAt(float x,
float y)
This returns a at position x,y. |
void |
get2DElementsIterator(IOverlay.IOverlay2DElementsIterator returnValue)
|
IOverlayContainer |
getChild(java.lang.String name)
|
java.lang.String |
getName()
Gets the name of this overlay. |
java.lang.String |
getOrigin()
Get the origin of this overlay, e.g. a script file name. |
IRadian |
getRotate()
Gets the rotation applied to this overlay, in degrees. |
float |
getScaleX()
Gets the current X scale value |
float |
getScaleY()
Gets the current Y scale value |
float |
getScrollX()
Gets the current X scroll value |
float |
getScrollY()
Gets the current Y scroll value |
int |
getZOrder()
Gets the ZOrder of this overlay. |
void |
hide()
Hides the overlay if it was visible. |
boolean |
isInitialised()
Gets whether the overlay is initialised or not. |
boolean |
isVisible()
Gets whether the overlay is displayed or not. |
void |
remove2D(IOverlayContainer cont)
Removes a 2D container from the overlay. |
void |
remove3D(ISceneNode node)
Removes a 3D element from the overlay. |
void |
rotate(IRadian angle)
Adds the passed in angle to the rotation applied to this overlay. |
void |
scroll(float xoff,
float yoff)
Scrolls the overlay by the offsets provided. |
void |
setRotate(IRadian angle)
Sets the rotation applied to this overlay. |
void |
setScale(float x,
float y)
Sets the scaling factor of this overlay. |
void |
setScroll(float x,
float y)
Sets the scrolling factor of this overlay. |
void |
setZOrder(int zorder)
Alters the ZOrder of this overlay. |
void |
show()
Shows the overlay if it was hidden. |
| Methods inherited from interface org.xbig.base.INativeObject |
|---|
delete, disconnectFromNativeObject, getInstancePointer, setInstancePointer, setInstancePointer, setInstancePointer |
| Method Detail |
|---|
IOverlayContainer getChild(java.lang.String name)
java.lang.String getName()
void setZOrder(int zorder)
int getZOrder()
boolean isVisible()
boolean isInitialised()
void show()
void hide()
void add2D(IOverlayContainer cont)
void remove2D(IOverlayContainer cont)
void add3D(ISceneNode node)
void remove3D(ISceneNode node)
void clear()
void setScroll(float x,
float y)
float getScrollX()
float getScrollY()
void scroll(float xoff,
float yoff)
void setRotate(IRadian angle)
IRadian getRotate()
void rotate(IRadian angle)
void setScale(float x,
float y)
float getScaleX()
float getScaleY()
void _getWorldTransforms(IMatrix4 xform)
void _findVisibleObjects(ICamera cam,
IRenderQueue queue)
IOverlayElement findElementAt(float x,
float y)
void get2DElementsIterator(IOverlay.IOverlay2DElementsIterator returnValue)
java.lang.String getOrigin()
void _notifyOrigin(java.lang.String origin)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||