Table of Contents

Class Camera

Namespace
Bonsai.Shaders
Assembly
Bonsai.Shaders.dll

Represents a point of view from which to render a 3D scene.

public class Camera
Inheritance
Camera
Inherited Members

Constructors

Camera(Matrix4, Matrix4)

Initializes a new instance of the Camera class using the specified view matrix and projection matrix.

public Camera(Matrix4 view, Matrix4 projection)

Parameters

view Matrix4

The view matrix representing how to transform world coordinates into eye space coordinates depending on the position and orientation of the camera.

projection Matrix4

The projection matrix representing how to transform eye space coordinates into clip space coordinates.

Fields

ProjectionMatrix

The projection matrix representing a transformation from eye space coordinates into clip space coordinates.

public Matrix4 ProjectionMatrix

Field Value

Matrix4

ViewMatrix

The view matrix representing a transformation from world coordinates into eye space coordinates.

public Matrix4 ViewMatrix

Field Value

Matrix4