Condividi tramite


PerceptionDepthFrameSource.IsCorrelatedWith(String) Metodo

Definizione

Verifica se l'origine del frame di profondità è correlata all'entità di destinazione. Se il risultato è true, una matrice di trasformazione può essere recuperata per modificare la base di coordinate da questa origine frame di profondità all'entità o viceversa.

public:
 virtual bool IsCorrelatedWith(Platform::String ^ targetId) = IsCorrelatedWith;
bool IsCorrelatedWith(winrt::hstring const& targetId);
/// [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")]
bool IsCorrelatedWith(winrt::hstring const& targetId);
public bool IsCorrelatedWith(string targetId);
[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 bool IsCorrelatedWith(string targetId);
function isCorrelatedWith(targetId)
Public Function IsCorrelatedWith (targetId As String) As Boolean

Parametri

targetId
String

Platform::String

winrt::hstring

ID univoco dell'entità di destinazione.

Restituisce

Boolean

bool

True se esiste una correlazione, in caso contrario false.

Attributi

Si applica a