PerceptionColorFrameSource.TryGetDepthCorrelatedCameraIntrinsicsAsync Method

Definition

Attempts to get the intrinsic properties of the depth camera that is correlated with this color source.

public:
 virtual IAsyncOperation<PerceptionDepthCorrelatedCameraIntrinsics ^> ^ TryGetDepthCorrelatedCameraIntrinsicsAsync(PerceptionDepthFrameSource ^ correlatedDepthFrameSource) = TryGetDepthCorrelatedCameraIntrinsicsAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<PerceptionDepthCorrelatedCameraIntrinsics> TryGetDepthCorrelatedCameraIntrinsicsAsync(PerceptionDepthFrameSource const& correlatedDepthFrameSource);
/// [Windows.Foundation.Metadata.RemoteAsync]
/// [Windows.Foundation.Metadata.Deprecated("PerceptionColorFrameSource may be unavailable after Windows Creator Update.  Use Windows.Media.Capture.Frames.MediaFrameSource instead.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
IAsyncOperation<PerceptionDepthCorrelatedCameraIntrinsics> TryGetDepthCorrelatedCameraIntrinsicsAsync(PerceptionDepthFrameSource const& correlatedDepthFrameSource);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<PerceptionDepthCorrelatedCameraIntrinsics> TryGetDepthCorrelatedCameraIntrinsicsAsync(PerceptionDepthFrameSource correlatedDepthFrameSource);
[Windows.Foundation.Metadata.RemoteAsync]
[Windows.Foundation.Metadata.Deprecated("PerceptionColorFrameSource may be unavailable after Windows Creator Update.  Use Windows.Media.Capture.Frames.MediaFrameSource instead.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
public IAsyncOperation<PerceptionDepthCorrelatedCameraIntrinsics> TryGetDepthCorrelatedCameraIntrinsicsAsync(PerceptionDepthFrameSource correlatedDepthFrameSource);
function tryGetDepthCorrelatedCameraIntrinsicsAsync(correlatedDepthFrameSource)
Public Function TryGetDepthCorrelatedCameraIntrinsicsAsync (correlatedDepthFrameSource As PerceptionDepthFrameSource) As IAsyncOperation(Of PerceptionDepthCorrelatedCameraIntrinsics)

Parameters

correlatedDepthFrameSource
PerceptionDepthFrameSource

The depth frame source to try to get intrinsic properties of.

Returns

If the attempt is successful, this will return a read-only collection of PerceptionDepthCorrelatedCameraIntrinsics objects specifying the intrinsic properties of the camera used by the correlated depth frame source. Otherwise, this returns null.

Attributes

Applies to