Freigeben über


PerceptionDepthFrameSource.TryGetDepthCorrelatedCoordinateMapperAsync Methode

Definition

Versucht, einen Koordinatenzuordnungser abzurufen, der den Bildraum des Tiefenrahmens in den Tiefenrahmenraum ordnet.

public:
 virtual IAsyncOperation<PerceptionDepthCorrelatedCoordinateMapper ^> ^ TryGetDepthCorrelatedCoordinateMapperAsync(Platform::String ^ targetId, PerceptionDepthFrameSource ^ depthFrameSourceToMapWith) = TryGetDepthCorrelatedCoordinateMapperAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<PerceptionDepthCorrelatedCoordinateMapper> TryGetDepthCorrelatedCoordinateMapperAsync(winrt::hstring const& targetId, PerceptionDepthFrameSource const& depthFrameSourceToMapWith);
/// [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<PerceptionDepthCorrelatedCoordinateMapper> TryGetDepthCorrelatedCoordinateMapperAsync(winrt::hstring const& targetId, PerceptionDepthFrameSource const& depthFrameSourceToMapWith);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<PerceptionDepthCorrelatedCoordinateMapper> TryGetDepthCorrelatedCoordinateMapperAsync(string targetId, PerceptionDepthFrameSource depthFrameSourceToMapWith);
[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<PerceptionDepthCorrelatedCoordinateMapper> TryGetDepthCorrelatedCoordinateMapperAsync(string targetId, PerceptionDepthFrameSource depthFrameSourceToMapWith);
function tryGetDepthCorrelatedCoordinateMapperAsync(targetId, depthFrameSourceToMapWith)
Public Function TryGetDepthCorrelatedCoordinateMapperAsync (targetId As String, depthFrameSourceToMapWith As PerceptionDepthFrameSource) As IAsyncOperation(Of PerceptionDepthCorrelatedCoordinateMapper)

Parameter

targetId
String

Platform::String

winrt::hstring

Die eindeutige ID der Tiefenframequelle, der die Zuordnung versucht werden soll.

depthFrameSourceToMapWith
PerceptionDepthFrameSource

Die Tiefenrahmenquelle, der die Zuordnung versucht werden soll. Dies sollte sich in einer Korrelationsgruppe mit der Tiefenframequelle befinden.

Gibt zurück

Wenn die beiden Quellen korreliert sind, gibt diese Methode einen PerceptionDepthCorrelatedCoordinateMapper zurück. Andernfalls wird null zurückgegeben. Diese Methode gibt asynchron zurück.

Attribute

Gilt für: