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
cameraProjectionCameraThe camera.
Properties
FarPlaneDistance
Gets or sets the far plane distance.
public double FarPlaneDistance { get; set; }
Property Value
FieldOfView
Gets or sets the field of view.
public double FieldOfView { get; set; }
Property Value
LookDirection
Gets or sets the look direction.
public Vector3D LookDirection { get; set; }
Property Value
NearPlaneDistance
Gets or sets the near plane distance.
public double NearPlaneDistance { get; set; }
Property Value
Position
Gets or sets the position.
public Point3D Position { get; set; }
Property Value
UpDirection
Gets or sets the up direction.
public Vector3D UpDirection { get; set; }
Property Value
Width
Gets or sets the width of an orthographic camera.
public double Width { get; set; }
Property Value
Methods
UpdateCamera(ProjectionCamera)
Updates the camera to this state.
public void UpdateCamera(ProjectionCamera camera)
Parameters
cameraProjectionCameraThe camera to update.