DX9ToolsR4 - Created by: X

Camera Class

The Camera class provides an easy way to manipulate the View and Projection matricies of a 'Direct3D.Device' object.

For a list of all members of this type, see Camera Members.

System.Object
   Camera

[Visual Basic]
Public Class Camera
[C#]
public class Camera

Remarks

The Camera class uses a 'Matrix.PerspectiveFovLH' perspective matrix by default.

The camera is created with the fallowing default values ...

     ViewMatrix                      Matrix.Identity
     ProjectionMatrix                Matrix.Identity
     Position                        Vector3(0, 0, -100)
     LookAt                          Vector3(0, 0, 0)
     Orientation                     Vector3(0, 1, 0)
     FieldOfView                     90 degrees 'Direct3D.Geometry.DegreeToRadian(90)'
     AspectRation                    1
     NearPlane                       1
     FarPlane                        1000
 

Requirements

Namespace: CBX.Libs.DX9ToolsR4

Assembly: DX9ToolsR4 (in DX9ToolsR4.dll)

See Also

Camera Members | CBX.Libs.DX9ToolsR4 Namespace