DX9ToolsR4 - Created by: X

Camera Members

Camera overview

Public Instance Constructors

CameraOverloaded. Initializes a new instance of the Camera class.

Public Instance Properties

AspectRatio Gets / Sets the cameras aspect ratio.
AutoUpdateProjection If set to True, Properties like FieldOfView will automatically call the UpdateProjecttion method.
AutoUpdateView If set to True, Methods like SetPosition will automatically call the UpdateView method.
Device Gets/Sets the Direct3D.Device that the camera will work with.
FarPlane Gets / Sets the value of the projection matrix's far viewing plane.
FieldOfView Gets / Sets the cameras FOV or Field of view.
LookAt Gets / Sets the cameras LookAt position.
NearPlane Gets / Sets the value of the projection matrix's near viewing plane.
Orientation Gets / Sets the cameras Orientation.
Position Gets / Sets the cameras Position.
Projection Returns a reference to a private projection matrix not the 'Direct3D.Device.Transforms.Projection' matrix.
View Returns a reference to a private view matrix.

Public Instance Methods

Equals (inherited from Object)
GetHashCode (inherited from Object)
GetType (inherited from Object)
Reset Resets the camera to it's default values.
SetLookAtOverloaded. Gets / Sets the point that the camera is looking at.
SetOrientationOverloaded. Sets the orientation for the camera.
SetPositionOverloaded. The camera class has four SetPosition method overloads.
ToString (inherited from Object)
UpdateProjection Builds a private matrix varible stored inside of the camera object, then sets the internal Direct3D.Device references projection transform to that private matrix varible.
UpdateView Builds a private matrix varible stored inside of the camera object, then sets the internal Direct3D.Device references view transform to that private matrix varible.
UpdateVP Use this method instead of calling the UpdateView and UpdateProjection methods separately.

Protected Instance Methods

Finalize Cleans up and disposes of the camera's internal varibles and references.
MemberwiseClone (inherited from Object)

See Also

Camera Class | CBX.Libs.DX9ToolsR4 Namespace