Interface ICamera
- Namespace
- HelixToolkit.SharpDX
- Assembly
- HelixToolkit.SharpDX.dll
Camera interface
public interface ICamera
Properties
CreateLeftHandSystem
Gets or sets a value indicating whether [create left hand system].
bool CreateLeftHandSystem { get; set; }
Property Value
- bool
trueif [create left hand system]; otherwise,false.
LookDirection
Gets or sets the look direction.
Vector3 LookDirection { get; set; }
Property Value
- Vector3
The look direction.
Position
Gets or sets the position.
Vector3 Position { get; set; }
Property Value
- Vector3
The position.
UpDirection
Gets or sets up direction.
Vector3 UpDirection { get; set; }
Property Value
- Vector3
Up direction.
Methods
CreateProjectionMatrix(float)
Creates the projection matrix.
Matrix4x4 CreateProjectionMatrix(float aspectRatio)
Parameters
aspectRatiofloatThe aspect ratio.
Returns
CreateProjectionMatrix(float, float, float)
Creates the projection matrix.
Matrix4x4 CreateProjectionMatrix(float aspectRatio, float nearPlane, float farPlane)
Parameters
Returns
CreateViewMatrix()
Creates the view matrix.
Matrix4x4 CreateViewMatrix()