PerceptionColorFrameSource.TryGetDepthCorrelatedCameraIntrinsicsAsync 方法

定义

尝试获取与该颜色源相关的深度相机的内部属性。

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)

参数

correlatedDepthFrameSource
PerceptionDepthFrameSource

要尝试获取其内部属性的深度帧源。

返回

如果尝试成功,这将返回 PerceptionDepthCorrelatedCameraIntrinsics 对象的只读集合,该集合指定相关深度帧源使用的相机的内部属性。 否则,这将返回 null。

属性

适用于