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
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
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
OnCoreCreated(CameraCore)
Called when [core created].
protected override void OnCoreCreated(CameraCore core)
Parameters
coreCameraCore
OnUpdateAnimation(float)
protected override bool OnUpdateAnimation(float ellapsed)
Parameters
ellapsedfloat