Freigeben über


PerceptionInfraredFrameSource.TryGetDepthCorrelatedCoordinateMapperAsync Methode

Definition

Versucht, einen Koordinaten-Mapper zu erhalten, der vom Infrarotrahmenbildraum zum 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("PerceptionInfraredFrameSource 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("PerceptionInfraredFrameSource 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 versucht werden soll, zuzuordnen.

depthFrameSourceToMapWith
PerceptionDepthFrameSource

Die Tiefenrahmenquelle, der versucht werden soll, eine Zuordnung zu erstellen. Dies sollte sich in einer Korrelationsgruppe mit der Infrarotrahmenquelle 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: