Click or drag to resize

SceneViewSetFieldOfView Method (Single, Single, Single, Single, Single, Single, DeviceOrientation)

Allows for matching the field of view of the scene view to the field of view of a camera lens using the lens intrinsics characteristics.

Namespace:  Esri.ArcGISRuntime.UI.Controls
Assembly:  Esri.ArcGISRuntime.WPF (in Esri.ArcGISRuntime.WPF.dll) Version: 100.11.0
Syntax
public void SetFieldOfView(
	float xFocalLength,
	float yFocalLength,
	float xPrincipal,
	float yPrincipal,
	float xImageSize,
	float yImageSize,
	DeviceOrientation deviceOrientation
)

Parameters

xFocalLength
Type: SystemSingle
The pixel focal length along the x axis. The units are in pixels. xFocal and yFocal should be identical for square pixels.
yFocalLength
Type: SystemSingle
The pixel focal length along the y axis. The units are in pixels. xFocal and yFocal should be identical for square pixels.
xPrincipal
Type: SystemSingle
The distance along the x axis between the principal point and the top-left corner of the image frame. The units are in pixels.
yPrincipal
Type: SystemSingle
The distance along the y axis between the principal point and the top-left corner of the image frame. The units are in pixels.
xImageSize
Type: SystemSingle
The x value of the image size captured by the camera. The units are in pixels.
yImageSize
Type: SystemSingle
The y value of the image size captured by the camera. The units are in pixels.
deviceOrientation
Type: Esri.ArcGISRuntime.UIDeviceOrientation
Describes the orientation of the device.
See Also