Table of Contents

Struct CameraSetting

Namespace
HelixToolkit.WinUI.SharpDX
Assembly
HelixToolkit.WinUI.SharpDX.dll

Represents camera settings.

public struct CameraSetting
Inherited Members
Extension Methods

Constructors

CameraSetting(Camera)

Initializes a new instance of the CameraSetting class.

public CameraSetting(Camera camera)

Parameters

camera Camera

The camera.

Properties

FarPlaneDistance

Gets or sets FarPlaneDistance.

public double FarPlaneDistance { readonly get; set; }

Property Value

double

FieldOfView

Gets or sets FieldOfView.

public double FieldOfView { readonly get; set; }

Property Value

double

LookDirection

Gets or sets LookDirection.

public Vector3 LookDirection { readonly get; set; }

Property Value

Vector3

NearPlaneDistance

Gets or sets NearPlaneDistance.

public double NearPlaneDistance { readonly get; set; }

Property Value

double

Position

Gets or sets Position.

public Vector3 Position { readonly get; set; }

Property Value

Vector3

UpDirection

Gets or sets UpDirection.

public Vector3 UpDirection { readonly get; set; }

Property Value

Vector3

Width

Gets or sets Width.

public double Width { readonly get; set; }

Property Value

double

Methods

UpdateCamera(Camera?)

Sets the properties of the specified camera to the settings stored in this object.

public void UpdateCamera(Camera? camera)

Parameters

camera Camera

The camera.