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
-
objectFreeFlyCamera
- Implements
- Inherited Members
Properties
Angle
The rotation around the Axis in degrees.
public float Angle { get; set; }
Property Value
Axis
A unit vector describing the axis around which the camera is rotated.
public DoubleVector3 Axis { get; set; }
Property Value
Methods
Navigate(DoubleVector3, DoubleVector3)
Called when the user changes the view perspective.
public override void Navigate(DoubleVector3 translation = default, DoubleVector3 rotation = default)
Parameters
translationDoubleVector3Movement in screen units. X = pan right, Y = pan up, Z = move forward
rotationDoubleVector3Rotation in degrees. X = yaw right, Y = pitch up, Z = roll clockwise