MediaFrameSource.TryGetCameraIntrinsics(MediaFrameFormat) MediaFrameSource.TryGetCameraIntrinsics(MediaFrameFormat) MediaFrameSource.TryGetCameraIntrinsics(MediaFrameFormat) MediaFrameSource.TryGetCameraIntrinsics(MediaFrameFormat) 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 : CameraIntrinsics TryGetCameraIntrinsics(MediaFrameFormat format)
CameraIntrinsics TryGetCameraIntrinsics(MediaFrameFormat format) const;
public CameraIntrinsics TryGetCameraIntrinsics(MediaFrameFormat format)
Public Function TryGetCameraIntrinsics(format As MediaFrameFormat) As CameraIntrinsics
var cameraIntrinsics = mediaFrameSource.tryGetCameraIntrinsics(format);

Parameters

format
MediaFrameFormat MediaFrameFormat 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.