PerceptionDepthFrameSource.TryGetDepthCorrelatedCameraIntrinsicsAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
尝试获取与此深度源相关的深度相机的内部属性。
public:
virtual IAsyncOperation<PerceptionDepthCorrelatedCameraIntrinsics ^> ^ TryGetDepthCorrelatedCameraIntrinsicsAsync(PerceptionDepthFrameSource ^ target) = TryGetDepthCorrelatedCameraIntrinsicsAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<PerceptionDepthCorrelatedCameraIntrinsics> TryGetDepthCorrelatedCameraIntrinsicsAsync(PerceptionDepthFrameSource const& target);
/// [Windows.Foundation.Metadata.RemoteAsync]
/// [Windows.Foundation.Metadata.Deprecated("PerceptionDepthFrameSource 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& target);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<PerceptionDepthCorrelatedCameraIntrinsics> TryGetDepthCorrelatedCameraIntrinsicsAsync(PerceptionDepthFrameSource target);
[Windows.Foundation.Metadata.RemoteAsync]
[Windows.Foundation.Metadata.Deprecated("PerceptionDepthFrameSource 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 target);
function tryGetDepthCorrelatedCameraIntrinsicsAsync(target)
Public Function TryGetDepthCorrelatedCameraIntrinsicsAsync (target As PerceptionDepthFrameSource) As IAsyncOperation(Of PerceptionDepthCorrelatedCameraIntrinsics)
参数
- target
- PerceptionDepthFrameSource
要尝试获取其内部属性的深度帧源。
返回
如果尝试成功,则会返回 PerceptionDepthCorrelatedCameraIntrinsics 对象的只读集合,该集合指定相关深度帧源使用的相机的内部属性。 否则,这将返回 null。
- 属性