Share via


MediaFrameSource.TryGetCameraIntrinsics(MediaFrameFormat) Method

Definition

Attempts to retrieve the media frame source's camera intrinsics, which describe a camera's distortion model, for the specified MediaFrameFormat.

public:
 virtual CameraIntrinsics ^ TryGetCameraIntrinsics(MediaFrameFormat ^ format) = TryGetCameraIntrinsics;
CameraIntrinsics TryGetCameraIntrinsics(MediaFrameFormat const& format);
public CameraIntrinsics TryGetCameraIntrinsics(MediaFrameFormat format);
function tryGetCameraIntrinsics(format)
Public Function TryGetCameraIntrinsics (format As MediaFrameFormat) As CameraIntrinsics

Parameters

format
MediaFrameFormat

The media frame format for which the camera intrinsics should be retrieved.

Returns

An object representing the camera intrinsics for the frame source, if they can be retrieved; otherwise, null.

Applies to