Class PerspectiveCamera
Represents a perspective projection camera.
Inherited Members
Namespace: Telerik.Windows.Media.Media3D
Assembly: Telerik.Windows.Controls.Charting.dll
Syntax
public class PerspectiveCamera : PerspectiveCameraBase, INotifyPropertyChanged
Constructors
PerspectiveCamera()
Initializes a new instance of the PerspectiveCamera class.
Declaration
public PerspectiveCamera()
PerspectiveCamera(Point3D, Vector3D, Vector3D, Double)
Initializes a new instance of the PerspectiveCamera class using the specified position, direction, and field of view.
Declaration
public PerspectiveCamera(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 a value that represents the camera's horizontal field of view.
Declaration
public double FieldOfView { get; set; }
Property Value
System.Double
|