| 
 | j3d.org Code | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 | bankAngleThe rotation angle in degrees for the camera. | 
|  float | focusThe focus distance for the camera (in millimetres) | 
|  float[] | locationThe location of the the camera, | 
|  float[] | rangesAtmospheric effect ranges for the camera. | 
|  boolean | seeOutlineFlag indicating whether the camera view cone should be shown | 
|  float[] | targetThe 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 | |||||||||