Show / Hide Table of Contents

Interface ICamera

Namespace: Experior.Rendering.Interfaces.Camera
Assembly: Experior.Rendering.Interfaces.dll
Syntax
public interface ICamera

Properties

FarPlaneDistance

Declaration
double FarPlaneDistance { get; }
Property Value
Type Description
System.Double

FieldOfView

Declaration
double FieldOfView { get; set; }
Property Value
Type Description
System.Double

Height

Declaration
int Height { get; }
Property Value
Type Description
System.Int32

NearPlaneDistance

Declaration
double NearPlaneDistance { get; }
Property Value
Type Description
System.Double

Orthogonal

Declaration
bool Orthogonal { get; set; }
Property Value
Type Description
System.Boolean

Pitch

Declaration
double Pitch { get; set; }
Property Value
Type Description
System.Double

Position

Declaration
Vector3 Position { get; }
Property Value
Type Description
System.Numerics.Vector3

Projection

Declaration
Matrix4x4 Projection { get; }
Property Value
Type Description
System.Numerics.Matrix4x4

Target

Declaration
Vector3 Target { get; set; }
Property Value
Type Description
System.Numerics.Vector3

TargetDistance

Declaration
double TargetDistance { get; set; }
Property Value
Type Description
System.Double

View

Declaration
Matrix4x4 View { get; }
Property Value
Type Description
System.Numerics.Matrix4x4

Width

Declaration
int Width { get; }
Property Value
Type Description
System.Int32

Yaw

Declaration
double Yaw { get; set; }
Property Value
Type Description
System.Double

Methods

CreateMouseRay(Double, Double)

Declaration
IRay CreateMouseRay(double mouseX, double mouseY)
Parameters
Type Name Description
System.Double mouseX
System.Double mouseY
Returns
Type Description
IRay

FitIntoView()

Declaration
void FitIntoView()

Follow(IMeshObject)

Declaration
void Follow(IMeshObject meshObject)
Parameters
Type Name Description
IMeshObject meshObject

MoveTo(ICameraMove, Action)

Declaration
void MoveTo(ICameraMove move, Action animationCompleted = null)
Parameters
Type Name Description
ICameraMove move
System.Action animationCompleted

MoveTo(List<ICameraMove>, Action)

Declaration
void MoveTo(List<ICameraMove> moves, Action animationCompleted = null)
Parameters
Type Name Description
System.Collections.Generic.List<ICameraMove> moves
System.Action animationCompleted

MoveTo(Vector3, Double, Double, Double, UInt32, Action)

Declaration
void MoveTo(Vector3 target, double pitch, double yaw, double targetDistance, uint time, Action animationCompleted = null)
Parameters
Type Name Description
System.Numerics.Vector3 target
System.Double pitch
System.Double yaw
System.Double targetDistance
System.UInt32 time
System.Action animationCompleted

Rotate(Double, Double)

Declaration
void Rotate(double headingChange, double attitudeChange)
Parameters
Type Name Description
System.Double headingChange
System.Double attitudeChange

ScreenCoordinates(Vector3)

Declaration
Vector2 ScreenCoordinates(Vector3 position)
Parameters
Type Name Description
System.Numerics.Vector3 position
Returns
Type Description
System.Numerics.Vector2

Events

CameraChanged

Declaration
event EventHandler<CameraEventArgs> CameraChanged
Event Type
Type Description
System.EventHandler<CameraEventArgs>
Back to top Generated by DocFX