Table of Contents

Class OrthographicCameraCore

Namespace
HelixToolkit.SharpDX.Cameras
Assembly
HelixToolkit.SharpDX.dll
public class OrthographicCameraCore : ProjectionCameraCore, INotifyPropertyChanged, ICamera
Inheritance
OrthographicCameraCore
Implements
Inherited Members
Extension Methods

Properties

Width

public float Width { get; set; }

Property Value

float

Methods

AnimateWidth(float, float)

public void AnimateWidth(float newWidth, float animationTime)

Parameters

newWidth float
animationTime float

CreateCameraParams(float)

public override FrustumCameraParams CreateCameraParams(float aspectRatio)

Parameters

aspectRatio float

Returns

FrustumCameraParams

CreateCameraParams(float, float, float)

public override FrustumCameraParams CreateCameraParams(float aspectRatio, float nearPlane, float farPlane)

Parameters

aspectRatio float
nearPlane float
farPlane float

Returns

FrustumCameraParams

CreateProjectionMatrix(float)

Creates the projection matrix.

public override Matrix4x4 CreateProjectionMatrix(float aspectRatio)

Parameters

aspectRatio float

The aspect ratio.

Returns

Matrix4x4

A Matrix4x4.

CreateProjectionMatrix(float, float, float)

Creates the projection matrix.

public override 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

OnUpdateAnimation(float)

protected override bool OnUpdateAnimation(float ellapsed)

Parameters

ellapsed float

Returns

bool

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.