|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.ctdp.rfdynhud.gamedata.GraphicsInfo
public class GraphicsInfo
Nested Class Summary | |
---|---|
static interface |
GraphicsInfo.GraphicsInfoUpdateListener
|
Method Summary | |
---|---|
java.awt.Color |
getAmbientColor()
Gets the current ambient color. |
void |
getCameraOrientation(TelemVect3 orientation)
camera orientation |
void |
getCameraPosition(TelemVect3 position)
camera position in meters |
float |
getCameraPositionX()
Gets camera position in meters. |
float |
getCameraPositionY()
Gets camera position in meters. |
float |
getCameraPositionZ()
Gets camera position in meters. |
long |
getUpdateId()
This is incremented every time the info is updated. |
boolean |
isUpdatedInRealtimeMode()
Gets, whether the last update of these data has been done while in realtime mode. |
void |
readFromStream(java.io.InputStream in)
|
void |
registerListener(GraphicsInfo.GraphicsInfoUpdateListener l)
|
void |
unregisterListener(GraphicsInfo.GraphicsInfoUpdateListener l)
|
void |
writeToStream(java.io.OutputStream out)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void registerListener(GraphicsInfo.GraphicsInfoUpdateListener l)
public void unregisterListener(GraphicsInfo.GraphicsInfoUpdateListener l)
public final boolean isUpdatedInRealtimeMode()
public final long getUpdateId()
public void readFromStream(java.io.InputStream in) throws java.io.IOException
java.io.IOException
public void writeToStream(java.io.OutputStream out) throws java.io.IOException
java.io.IOException
public final void getCameraPosition(TelemVect3 position)
position
- output bufferpublic final float getCameraPositionX()
public final float getCameraPositionY()
public final float getCameraPositionZ()
public final void getCameraOrientation(TelemVect3 orientation)
orientation
- output bufferpublic final java.awt.Color getAmbientColor()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |