Wpf |
[ContentPropertyAttribute("Camera")] public class WpfCamera : BaseCamera, ILookDirectionCamera, IPerspectiveCamera
The WpfCamera type exposes the following members.
Name | Description | |
---|---|---|
WpfCamera | Constructor | |
WpfCamera(Camera, Single) | Constructor |
Name | Description | |
---|---|---|
Camera | Gets or sets a WPF camera | |
FieldOfView | Gets or sets camera's field of view in degrees or zero when the camera is not a PerspectiveCamera. |
Name | Description | |
---|---|---|
GetCameraLookDirection | Returns the camera look direction. | |
GetCameraPosition |
Returns the current position of the camera.
(Overrides BaseCameraGetCameraPosition) | |
GetProjectionMatrix | GetProjectionMatrix returns projection Matrix for the specified camera's properties | |
GetViewMatrix | GetViewMatrix sets viewMatrix and cameraPosition from the WPF's camera and isUsingRightHandedCoordinateSystem | |
Update |
Update method updates the camera matrices when needed (when there were any change in the camera properties) or when forceMatrixUpdate is set to true.
(Overrides BaseCameraUpdate(Boolean)) |