Table of Contents

Class MatrixCamera

Namespace
OmegaEngine.Graphics.Cameras
Assembly
OmegaEngine.dll

A camera that internally uses matrixes for representing rotations.

public abstract class MatrixCamera : Camera, IInputReceiver, IPositionable, IViewpoint
Inheritance
object
MatrixCamera
Implements
Derived
Inherited Members

Fields

UpHint

A unit vector hint describing the up direction used to build the view matrix.

protected Vector3 UpHint

Field Value

Vector3

Remarks

Only affects roll. Yaw and pitch are determined by position and target.

Properties

Target

The position the camera is looking at.

public virtual DoubleVector3 Target { get; set; }

Property Value

DoubleVector3

Methods

UpdateView()

Update cached versions of View and related matrices; abstract, to be overwritten in subclass.

protected override void UpdateView()