|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.cult3d.device.CultWindow
This class represents the window where the Cult3D scene is hosted.
Use the method getReference to get an instance of this class.
Method Summary | |
java.awt.Dimension |
getCultWindowDimension()
Get the curren size of the window hosting the Cult3D scene. |
java.lang.String |
getInfo()
This method is intended to be used only for debugging purposes, and the content and format of the returned string may vary between implementations and versions of Cult3D. |
Node |
getNodeAtCoordinate(int x,
int y)
This method returns the topmost Node at the given screen coordinate, or null if there is none. |
static CultWindow |
getReference()
Use this method to get an reference to a Cult3D Viewer window |
java.lang.String |
toString()
Returns a string representation of the values of this object. |
java.awt.Point |
worldToWindow(float x,
float y,
float z)
Converts a world coordinate to a coordinate relative Cult3D Viewer window |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Method Detail |
public static CultWindow getReference()
public java.awt.Dimension getCultWindowDimension()
public Node getNodeAtCoordinate(int x, int y)
x
- The x component of the coordindate relative to topleft corner of the Cult3D Viewer window.y
- x The y component of the coordindate relative to topleft corner of the Cult3D Viewer window.MouseDevice.getMouseOverNode()
public java.awt.Point worldToWindow(float x, float y, float z)
public java.lang.String getInfo()
public java.lang.String toString()
Returns a string representation of the values of this object.
This method is intended to be used only for debugging purposes, and the content and format of the returned string may vary between implementations and versions of Cult3D.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |