Table of Contents

Class TransitionCamera

Namespace
OmegaEngine.Graphics.Cameras
Assembly
OmegaEngine.dll

A camera that smoothly transitions between two camera states over time. Usually used via TransitionCameraTo(Camera, TransitionCameraOptions?).

Useful for cinematic camera movements or smooth transitions between different viewpoints.
public class TransitionCamera : QuaternionCamera, IInputReceiver, IPositionable
Inheritance
object
TransitionCamera
Implements
Inherited Members

Constructors

TransitionCamera(Camera, Camera, TransitionCameraOptions, Engine)

Creates a new transition camera.

public TransitionCamera(Camera start, Camera end, TransitionCameraOptions options, Engine engine)

Parameters

start Camera

The camera state at the beginning of the transition.

end Camera

The camera state at the end of the transition.

options TransitionCameraOptions

Options controlling the transition.

engine Engine

The Engine used for update callbacks.

Properties

IsComplete

Is the transition finished?

[Browsable(false)]
public bool IsComplete { get; }

Property Value

bool

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