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
parentCameraCameraThe parent camera to track
Properties
ParentCamera
The parent camera to track
public Camera ParentCamera { get; set; }
Property Value
Methods
Navigate(DoubleVector3, DoubleVector3)
Called when the user changes the view perspective.
public override void Navigate(DoubleVector3 translation, DoubleVector3 rotation)
Parameters
translationDoubleVector3Movement in screen units. X = pan right, Y = pan upwards, Z = zoom into screen
rotationDoubleVector3Rotation 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()