PerceptionDepthFrameSource.TryGetDepthCorrelatedCameraIntrinsicsAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Attempts to get the intrinsic properties of the depth camera that is correlated with this depth source.
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)
Parameters
- target
- PerceptionDepthFrameSource
The depth frame source to try to get intrinsic properties of.
Returns
If the attempt is successful, this returns 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