共用方式為


PerceptionCorrelation(String, Vector3, Quaternion) 建構函式

定義

初始化新的 PerceptionCorrelation 實例。

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)

參數

targetId
String

Platform::String

winrt::hstring

所描述之 IPerceptionFrameProvider 的唯一識別碼。

position
Vector3 Vector3

float3

裝置在 PerceptionCorrelationGroup 所有成員的通用座標框架中的位置。

orientation
Quaternion Quaternion

quaternion

裝置在 PerceptionCorrelationGroup 所有成員的通用座標框架中的方向。

屬性

備註

透過其 PerceptionFrameProviderInfo::Id) 建立與 IPerceptionFrameProvider (的唯一識別碼建立關聯位置和方向的 PerceptionCorrelation。 結合至 PerceptionCorrelationGroup 時,可以取得相對位置和方向,以將群組中每個 IPerceptionFrameProvider 產生的畫面相互關聯。

適用於