Table of Contents

Class FreeFlyCamera

Namespace
OmegaEngine.Graphics.Cameras
Assembly
OmegaEngine.dll

A camera with free 6-degrees-of-freedom movement (movement and rotation in all directions).

Useful for building tools, debugging, or games with free-flying movement (space sims, spectator modes).
public class FreeFlyCamera : QuaternionCamera, IInputReceiver, IPositionable
Inheritance
object
FreeFlyCamera
Implements
Inherited Members

Properties

Angle

The rotation around the Axis in degrees.

public float Angle { get; set; }

Property Value

float

Axis

A unit vector describing the axis around which the camera is rotated.

public DoubleVector3 Axis { get; set; }

Property Value

DoubleVector3

Methods

Navigate(DoubleVector3, DoubleVector3)

Called when the user changes the view perspective.

public override void Navigate(DoubleVector3 translation = default, DoubleVector3 rotation = default)

Parameters

translation DoubleVector3

Movement in screen units. X = pan right, Y = pan up, Z = move forward

rotation DoubleVector3

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