|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.cult3d.world.Node | +--com.cult3d.world.Camera
This class provides a Java representation for a Cult3D camera that exists in the scene graph of the Cult3D Designer.
Fields inherited from class com.cult3d.world.Node |
LOCAL,
WORLD,
X,
Y,
Z |
Constructor Summary | |
Camera(java.lang.String name)
Constructs a Java representation of an existing camera in the scene graph. |
Method Summary | |
float |
getFarPlane()
Returns the far plane of the active camera |
float |
getHorizontalFieldOfView()
Return the horizontal field of view of the active camera |
java.lang.String |
getInfo()
Returns a string representation of the values of this object. |
float |
getNearPlane()
Returns the near plane of the active camera |
float |
getVerticalFieldOfView()
Return the vertical field of view of the active camera. |
boolean |
isActive()
Checks if the camera is active. |
void |
setAsActive()
Sets this camera as the active one. |
java.lang.String |
toString()
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. |
Methods inherited from class com.cult3d.world.Node |
addChild,
addChildToRoot,
disconnect,
equals,
getChildAt,
getChildCount,
getFirstChild,
getFirstNode,
getName,
getNextSibling,
getOrientation,
getParent,
getPosition,
getTransform,
isBoundingBoxVisible,
isVisible,
nodeToWorld,
rotate,
rotate,
rotate,
rotate,
rotateDegrees,
rotateDegrees,
rotateDegrees,
rotateDegrees,
setBoundingBoxVisible,
setName,
setOrientation,
setPosition,
setTransform,
setVisible,
setVisible,
stopRotation,
stopTranslation,
translate,
translate,
translate,
translate,
worldToNode |
Methods inherited from class java.lang.Object |
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public Camera(java.lang.String name)
name
- The name of the camera.Method Detail |
public void setAsActive()
public boolean isActive()
public float getNearPlane()
public float getFarPlane()
public float getHorizontalFieldOfView()
public float getVerticalFieldOfView()
public java.lang.String getInfo()
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.
public java.lang.String toString()
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 |