#include <NBF.h>
Inheritance diagram for NBFSimpleCamera:
Public Methods | |
PADDING (3) | |
Padding bits to ensure offset of windowSize is on a 4-byte boundary, regardless of packing. More... | |
Public Attributes | |
uint_t | numHeadLights |
Specifies the number of headlights attached. More... | |
uint_t | headLights |
Specifies the file offset to the offsets to the attached headlight objects. Headlights are of type NBFLightSource. More... | |
float3_t | upVector |
Specifies the camera's normalized up vector. More... | |
float3_t | position |
Specifies the actual position of camera in world space. More... | |
float3_t | direction |
Specifies the normalized direction for the camera to look along. More... | |
float | farDist |
Specifies the distance from the actual camera position to the far clipping plane. More... | |
float | nearDist |
Specifies the distance from the actual camera position to the near clipping plane. More... | |
float | targDist |
Specifies the distance to the projection plane. More... | |
float | projectionDx |
Specifies the translation of projection (used with stereo for example). More... | |
ubyte_t | isAutoClipPlanes |
Indicates if automatic generation of clipping planes is enabled. More... | |
float2_t | windowSize |
Specifies the world-relative size of the viewing window. Whereas the x-component of of the vector specifies the width, and the y-component of the vector specifies the height. More... | |
float2_t | windowOffset |
Specifies the world-relative offset from the viewing reference point to the center of the viewing window. More... |
A NBFSimpleCamera serves as base class only.
Concrete object codes valid for a NBFSimpleCamera are NBF_PARALLEL_CAMERA and NBF_PERSPECTIVE_CAMERA. Further object codes valid for a NBFSimpleCamera are subject to future extensions for the NBF format.
|
Padding bits to ensure offset of windowSize is on a 4-byte boundary, regardless of packing.
Reimplemented from NBFObject. |
|
Specifies the number of headlights attached.
|
|
Specifies the file offset to the offsets to the attached headlight objects. Headlights are of type NBFLightSource.
|
|
Specifies the camera's normalized up vector.
|
|
Specifies the actual position of camera in world space.
|
|
Specifies the normalized direction for the camera to look along.
|
|
Specifies the distance from the actual camera position to the far clipping plane.
|
|
Specifies the distance from the actual camera position to the near clipping plane.
|
|
Specifies the distance to the projection plane.
|
|
Specifies the translation of projection (used with stereo for example).
|
|
Indicates if automatic generation of clipping planes is enabled.
|
|
Specifies the world-relative size of the viewing window. Whereas the x-component of of the vector specifies the width, and the y-component of the vector specifies the height.
|
|
Specifies the world-relative offset from the viewing reference point to the center of the viewing window.
|