Camera3D

A basic 3D camera, optimized for use in 3D environments.

class Camera3D : Camera {
Vector3 Position;
Quaternion Rotation;
float Zoom;
}

Members

Functions

Project
Matrix4x4 Project(float width, float height)

Creates an perspective projection with the specified width and height.

Update
void Update()

Update the camera rotation, scale and translation.

Inherited Members

From Camera

Update
void Update()

Update the camera rotation, scale and translation.

Project
Matrix4x4 Project(float width, float height)

Creates a dimension dependant projection. (Recommended)

ProjectPerspective
Matrix4x4 ProjectPerspective(float width, float fov, float height)

Creates an perspective projection with the specified width and height.

ProjectOrthographic
Matrix4x4 ProjectOrthographic(float width, float height)

Creates an othrographic projection with the specified width and height.

Meta