Table of Contents

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

true if [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

aspectRatio float

The aspect ratio.

Returns

Matrix4x4

A Matrix4x4.

CreateProjectionMatrix(float, float, float)

Creates the projection matrix.

Matrix4x4 CreateProjectionMatrix(float aspectRatio, float nearPlane, float farPlane)

Parameters

aspectRatio float

The aspect ratio.

nearPlane float

The near plane.

farPlane float

The far plane.

Returns

Matrix4x4

CreateViewMatrix()

Creates the view matrix.

Matrix4x4 CreateViewMatrix()

Returns

Matrix4x4

A Matrix4x4.