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
cameraCameraThe camera.
Properties
FarPlaneDistance
Gets or sets FarPlaneDistance.
public double FarPlaneDistance { readonly get; set; }
Property Value
FieldOfView
Gets or sets FieldOfView.
public double FieldOfView { readonly get; set; }
Property Value
LookDirection
Gets or sets LookDirection.
public Vector3 LookDirection { readonly get; set; }
Property Value
NearPlaneDistance
Gets or sets NearPlaneDistance.
public double NearPlaneDistance { readonly get; set; }
Property Value
Position
Gets or sets Position.
public Vector3 Position { readonly get; set; }
Property Value
UpDirection
Gets or sets UpDirection.
public Vector3 UpDirection { readonly get; set; }
Property Value
Width
Gets or sets Width.
public double Width { readonly get; set; }
Property Value
Methods
UpdateCamera(Camera?)
Sets the properties of the specified camera to the settings stored in this object.
public void UpdateCamera(Camera? camera)
Parameters
cameraCameraThe camera.