Class ViewportCamera
Represents a perspective projection camera.
Inherited Members
Namespace: Telerik.Windows.Media.Media3D
Assembly: Telerik.Windows.Controls.Charting.dll
Syntax
public class ViewportCamera : PerspectiveCameraBase, INotifyPropertyChanged
Constructors
ViewportCamera()
Initializes a new instance of the ViewportCamera class.
Declaration
public ViewportCamera()
ViewportCamera(Point3D, Vector3D, Vector3D, Double)
Initializes a new instance of the ViewportCamera class.
Declaration
public ViewportCamera(Point3D position, Vector3D lookDirection, Vector3D upDirection, double fieldOfView)
Parameters
Point3D
position
Point3D that specifies the camera's position. |
Vector3D
lookDirection
Vector3D that specifies the direction of the camera's projection. |
Vector3D
upDirection
Vector3D that specifies the upward direction according to the perspective of the onlooker. |
System.Double
fieldOfView
Width of the camera's angle of projection, specified in degrees. |
Fields
FieldOfViewProperty
Identifies the FieldOfView dependency property.
Declaration
public static readonly DependencyProperty FieldOfViewProperty
Field Value
System.Windows.DependencyProperty
|
Properties
FieldOfView
Gets or sets the field of view.
Declaration
public double FieldOfView { get; set; }
Property Value
System.Double
The field of view. |