Interface ICamera
Assembly: Experior.Rendering.Interfaces.dll
Syntax
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
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
Property Value
Type |
Description |
System.Numerics.Matrix4x4 |
|
Width
Declaration
Property Value
Type |
Description |
System.Int32 |
|
Yaw
Declaration
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
FitIntoView()
Declaration
Follow(IMeshObject)
Declaration
void Follow(IMeshObject meshObject)
Parameters
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