Table of Contents

Class CameraSetting

Namespace
HelixToolkit.Wpf
Assembly
HelixToolkit.Wpf.dll

Represents a camera state.

public sealed class CameraSetting
Inheritance
CameraSetting
Inherited Members

Constructors

CameraSetting(ProjectionCamera)

Initializes a new instance of the CameraSetting class.

public CameraSetting(ProjectionCamera camera)

Parameters

camera ProjectionCamera

The camera.

Properties

FarPlaneDistance

Gets or sets the far plane distance.

public double FarPlaneDistance { get; set; }

Property Value

double

FieldOfView

Gets or sets the field of view.

public double FieldOfView { get; set; }

Property Value

double

LookDirection

Gets or sets the look direction.

public Vector3D LookDirection { get; set; }

Property Value

Vector3D

NearPlaneDistance

Gets or sets the near plane distance.

public double NearPlaneDistance { get; set; }

Property Value

double

Position

Gets or sets the position.

public Point3D Position { get; set; }

Property Value

Point3D

UpDirection

Gets or sets the up direction.

public Vector3D UpDirection { get; set; }

Property Value

Vector3D

Width

Gets or sets the width of an orthographic camera.

public double Width { get; set; }

Property Value

double

Methods

UpdateCamera(ProjectionCamera)

Updates the camera to this state.

public void UpdateCamera(ProjectionCamera camera)

Parameters

camera ProjectionCamera

The camera to update.