Table of Contents

Class OrthographicCamera

Namespace
HelixToolkit.Wpf.SharpDX
Assembly
HelixToolkit.Wpf.SharpDX.dll

Represents an orthographic projection camera.

public class OrthographicCamera : ProjectionCamera, IAnimatable, IOrthographicCameraModel, IProjectionCameraModel, ICameraModel
Inheritance
OrthographicCamera
Implements
Inherited Members
Extension Methods

Constructors

OrthographicCamera()

public OrthographicCamera()

Fields

WidthProperty

The width property

public static readonly DependencyProperty WidthProperty

Field Value

DependencyProperty

Properties

Width

Gets or sets the width.

public double Width { get; set; }

Property Value

double

The width.

Methods

AnimateWidth(double, double)

public void AnimateWidth(double newWidth, double animationTime)

Parameters

newWidth double
animationTime double

CreateInstanceCore()

When implemented in a derived class, creates a new instance of the Freezable derived class.

protected override Freezable CreateInstanceCore()

Returns

Freezable

The new instance.

CreatePortableCameraCore()

Creates the portable camera core.

protected override CameraCore CreatePortableCameraCore()

Returns

CameraCore

OnCoreCreated(CameraCore)

Called when [core created].

protected override void OnCoreCreated(CameraCore core)

Parameters

core CameraCore

OnUpdateAnimation(float)

protected override bool OnUpdateAnimation(float ellapsed)

Parameters

ellapsed float

Returns

bool