Table of Contents

Class CloneCamera

Namespace
OmegaEngine.Graphics.Cameras
Assembly
OmegaEngine.dll

A camera that imitates the perspective of another Camera.

public class CloneCamera : Camera, IInputReceiver, IPositionable
Inheritance
CloneCamera
Implements
Derived
Inherited Members
Extension Methods

Constructors

CloneCamera(Camera)

A camera that imitates the perspective of another Camera.

public CloneCamera(Camera parentCamera)

Parameters

parentCamera Camera

The parent camera to track

Properties

ParentCamera

The parent camera to track

public Camera ParentCamera { get; set; }

Property Value

Camera

Methods

Navigate(DoubleVector3, DoubleVector3)

Called when the user changes the view perspective.

public override void Navigate(DoubleVector3 translation, DoubleVector3 rotation)

Parameters

translation DoubleVector3

Movement in screen units. X = pan right, Y = pan upwards, Z = zoom into screen

rotation DoubleVector3

Rotation in degrees. X = yaw clockwise, Y = pitch clockwise, Z = roll clockwise

UpdateProjection()

Update cached versions of OmegaEngine.Graphics.Cameras.Camera.Projection and related matrices

protected override void UpdateProjection()

UpdateView()

Update cached versions of View and related matrices

protected override void UpdateView()