C3DCamera

Top  Previous  Next

Class Description:

The camera defines the view of the 3D world

 

Class Methods:

_C3DCamera

Class destructor.

C3DCamera

Class constructor.

Create

Creates the camera.

EnableFog

Enables fog for the camera view.

Free

Frees the camera.

GetDirection

Returns the camera's direction vector.

GetLookAt

Returns the look at point.

GetPosition

Returns the camera's position.

GetUpVector

Returns the camera's up vector.

LockYAxis

Locks the Y axis of the camera.

LookAt

Orients the camera towards a vector.

Move

Moves the camera along the X/Z axis.

ObjectInView

Determines if an object is in view.

Orient

Changes the cameras up and direction vectors.

Position

Positions the camera at an absolute 3D vector.

Project

projects a 3D point in world space to screen 2D coordinates.

Rotate

Rotates a camera based on yaw, pitch and roll.

SetAspectRatio

Sets the aspect ration of the camera..

SetBackPlane

Sets the back plane of the camera..

SetFogColor

Sets the color value of fog.

SetFogRange

Sets the near and far ranges of fog.

SetFOV

Sets the cameras field of view..

SetFrontPlane

Sets the front plane of the camera..

SetMode

Sets the cameras mode, either perspective or ortho..

SetY

Sets the Y axis position of the camera..

Unproject

Transforms a 2D screen coordinate into 3D world space..

 

Class Member Variables:

*m_pData

void

Private data internal to the camera.

 

Located in:

ebx3d.incc

 

Class Hierarchy

C3DCamera