Table of Contents

Constructor Camera

Namespace
Bonsai.Shaders
Assembly
Bonsai.Shaders.dll

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.