Share via


PerceptionInfraredFrameSource.IsCorrelatedWith(String) Method

Definition

Checks whether or not the infrared frame source is correlated with the target entity.

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

Parameters

targetId
String

Platform::String

winrt::hstring

The unique ID of the target entity.

Returns

Boolean

bool

True if a correlation exists, otherwise false. If the result is true, a transform matrix can be retrieved to change coordinate basis from this infrared frame source to the entity, or vice versa.

Attributes

Applies to