PerceptionCorrelation(String, Vector3, Quaternion) Constructor

Definition

Initializes a new PerceptionCorrelation instance.

public:
 PerceptionCorrelation(Platform::String ^ targetId, float3 position, quaternion orientation);
 PerceptionCorrelation(winrt::hstring const& targetId, float3 const& position, quaternion const& orientation);
/// [Windows.Foundation.Metadata.Deprecated("PerceptionCorrelation may be unavailable after Windows Creator Update. Please refer to AVStream on MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
 PerceptionCorrelation(winrt::hstring const& targetId, float3 const& position, quaternion const& orientation);
public PerceptionCorrelation(string targetId, Vector3 position, Quaternion orientation);
[Windows.Foundation.Metadata.Deprecated("PerceptionCorrelation may be unavailable after Windows Creator Update. Please refer to AVStream on MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
public PerceptionCorrelation(string targetId, Vector3 position, Quaternion orientation);
function PerceptionCorrelation(targetId, position, orientation)
Public Sub New (targetId As String, position As Vector3, orientation As Quaternion)

Parameters

targetId
String

Platform::String

winrt::hstring

The unique identifier of the IPerceptionFrameProvider being described.

position
Vector3 Vector3

float3

The position of the device in a common coordinate frame of all members of a PerceptionCorrelationGroup.

orientation
Quaternion Quaternion

quaternion

The orientation of the device in a common coordinate frame of all members of a PerceptionCorrelationGroup.

Attributes

Remarks

Creates a PerceptionCorrelation associating a position and orientation with the unique identifier of an IPerceptionFrameProvider (via its PerceptionFrameProviderInfo::Id). When combined into an PerceptionCorrelationGroup, relative positions and orientations can be obtained to correlate resulting frames from each IPerceptionFrameProvider in the group.

Applies to