|
j3d.org Code | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.j3d.loaders.discreet.CameraBlock
public class CameraBlock
Representation of a single camera and its paramaters needed for rendering.
Cameras are described using the 0x4700 series of parameters.
The block is defined as:
N_CAMERA 0x4700 point (camera position) point (camera target) float (camera bank angle) float (camera focal length in mm) CAM_SEE_CONE 0x4710 CAM_RANGES 0x4720
Field Summary | |
---|---|
float |
bankAngle
The rotation angle in degrees for the camera. |
float |
focus
The focus distance for the camera (in millimetres) |
float[] |
location
The location of the the camera, |
float[] |
ranges
Atmospheric effect ranges for the camera. |
boolean |
seeOutline
Flag indicating whether the camera view cone should be shown |
float[] |
target
The location the camera is pointing at |
Constructor Summary | |
---|---|
CameraBlock()
Create a new camera block and set it up with basic details. |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public float[] location
public float[] target
public float bankAngle
public float focus
public boolean seeOutline
public float[] ranges
Constructor Detail |
---|
public CameraBlock()
|
j3d.org Code | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |