Partager via


PerceptionDepthFrameSource.IsCorrelatedWith(String) Méthode

Définition

Vérifie si la source de trame de profondeur est corrélée ou non avec l’entité cible. Si le résultat est vrai, une matrice de transformation peut être récupérée pour modifier la base de coordonnées de cette source de trame de profondeur vers l’entité, ou vice versa.

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

Paramètres

targetId
String

Platform::String

winrt::hstring

ID unique de l’entité cible.

Retours

Boolean

bool

True si une corrélation existe, sinon false.

Attributs

S’applique à