共用方式為


SpatialLocator.CreateAttachedFrameOfReferenceAtCurrentHeading 方法

定義

多載

CreateAttachedFrameOfReferenceAtCurrentHeading()

建立一個參考框架,其位置附加至這個 SpatialLocator,其目前方向為固定標題。

CreateAttachedFrameOfReferenceAtCurrentHeading(Vector3)

建立參考框架,這個參考框架會以目前方向作為固定標題的位置附加至這個 SpatialLocator,並以指定的相對位置的原點位移。

CreateAttachedFrameOfReferenceAtCurrentHeading(Vector3, Quaternion)

建立參考框架,這個參考框架會以目前方向作為固定標題的位置附加至這個 SpatialLocator,以及其原點位移,並由指定的相對位置和方向旋轉。

CreateAttachedFrameOfReferenceAtCurrentHeading(Vector3, Quaternion, Double)

建立參考的框架,此圖文框的位置附加至這個 SpatialLocator,其標題為相對於目前方向的弧度,並以指定的相對位置和方向的原點位移。

CreateAttachedFrameOfReferenceAtCurrentHeading()

建立一個參考框架,其位置附加至這個 SpatialLocator,其目前方向為固定標題。

public:
 virtual SpatialLocatorAttachedFrameOfReference ^ CreateAttachedFrameOfReferenceAtCurrentHeading() = CreateAttachedFrameOfReferenceAtCurrentHeading;
/// [Windows.Foundation.Metadata.Overload("CreateAttachedFrameOfReferenceAtCurrentHeading")]
SpatialLocatorAttachedFrameOfReference CreateAttachedFrameOfReferenceAtCurrentHeading();
[Windows.Foundation.Metadata.Overload("CreateAttachedFrameOfReferenceAtCurrentHeading")]
public SpatialLocatorAttachedFrameOfReference CreateAttachedFrameOfReferenceAtCurrentHeading();
function createAttachedFrameOfReferenceAtCurrentHeading()
Public Function CreateAttachedFrameOfReferenceAtCurrentHeading () As SpatialLocatorAttachedFrameOfReference

傳回

定位器附加的參考框架。

屬性

另請參閱

適用於

CreateAttachedFrameOfReferenceAtCurrentHeading(Vector3)

建立參考框架,這個參考框架會以目前方向作為固定標題的位置附加至這個 SpatialLocator,並以指定的相對位置的原點位移。

public:
 virtual SpatialLocatorAttachedFrameOfReference ^ CreateAttachedFrameOfReferenceAtCurrentHeading(float3 relativePosition) = CreateAttachedFrameOfReferenceAtCurrentHeading;
/// [Windows.Foundation.Metadata.Overload("CreateAttachedFrameOfReferenceAtCurrentHeadingWithPosition")]
SpatialLocatorAttachedFrameOfReference CreateAttachedFrameOfReferenceAtCurrentHeading(float3 const& relativePosition);
[Windows.Foundation.Metadata.Overload("CreateAttachedFrameOfReferenceAtCurrentHeadingWithPosition")]
public SpatialLocatorAttachedFrameOfReference CreateAttachedFrameOfReferenceAtCurrentHeading(Vector3 relativePosition);
function createAttachedFrameOfReferenceAtCurrentHeading(relativePosition)
Public Function CreateAttachedFrameOfReferenceAtCurrentHeading (relativePosition As Vector3) As SpatialLocatorAttachedFrameOfReference

參數

relativePosition
Vector3 Vector3

float3

參考框架原點的位置位移,以座標系統表示。

傳回

定位器附加的參考框架。

屬性

另請參閱

適用於

CreateAttachedFrameOfReferenceAtCurrentHeading(Vector3, Quaternion)

建立參考框架,這個參考框架會以目前方向作為固定標題的位置附加至這個 SpatialLocator,以及其原點位移,並由指定的相對位置和方向旋轉。

public:
 virtual SpatialLocatorAttachedFrameOfReference ^ CreateAttachedFrameOfReferenceAtCurrentHeading(float3 relativePosition, quaternion relativeOrientation) = CreateAttachedFrameOfReferenceAtCurrentHeading;
/// [Windows.Foundation.Metadata.Overload("CreateAttachedFrameOfReferenceAtCurrentHeadingWithPositionAndOrientation")]
SpatialLocatorAttachedFrameOfReference CreateAttachedFrameOfReferenceAtCurrentHeading(float3 const& relativePosition, quaternion const& relativeOrientation);
[Windows.Foundation.Metadata.Overload("CreateAttachedFrameOfReferenceAtCurrentHeadingWithPositionAndOrientation")]
public SpatialLocatorAttachedFrameOfReference CreateAttachedFrameOfReferenceAtCurrentHeading(Vector3 relativePosition, Quaternion relativeOrientation);
function createAttachedFrameOfReferenceAtCurrentHeading(relativePosition, relativeOrientation)
Public Function CreateAttachedFrameOfReferenceAtCurrentHeading (relativePosition As Vector3, relativeOrientation As Quaternion) As SpatialLocatorAttachedFrameOfReference

參數

relativePosition
Vector3 Vector3

float3

參考框架原點的位置位移,以座標系統表示。

relativeOrientation
Quaternion Quaternion

quaternion

參照框架的原點旋轉,相對於標題的方向。

傳回

定位器附加的參考框架。

屬性

另請參閱

適用於

CreateAttachedFrameOfReferenceAtCurrentHeading(Vector3, Quaternion, Double)

建立參考的框架,此圖文框的位置附加至這個 SpatialLocator,其標題為相對於目前方向的弧度,並以指定的相對位置和方向的原點位移。

public:
 virtual SpatialLocatorAttachedFrameOfReference ^ CreateAttachedFrameOfReferenceAtCurrentHeading(float3 relativePosition, quaternion relativeOrientation, double relativeHeadingInRadians) = CreateAttachedFrameOfReferenceAtCurrentHeading;
/// [Windows.Foundation.Metadata.Overload("CreateAttachedFrameOfReferenceAtCurrentHeadingWithPositionAndOrientationAndRelativeHeading")]
SpatialLocatorAttachedFrameOfReference CreateAttachedFrameOfReferenceAtCurrentHeading(float3 const& relativePosition, quaternion const& relativeOrientation, double const& relativeHeadingInRadians);
[Windows.Foundation.Metadata.Overload("CreateAttachedFrameOfReferenceAtCurrentHeadingWithPositionAndOrientationAndRelativeHeading")]
public SpatialLocatorAttachedFrameOfReference CreateAttachedFrameOfReferenceAtCurrentHeading(Vector3 relativePosition, Quaternion relativeOrientation, double relativeHeadingInRadians);
function createAttachedFrameOfReferenceAtCurrentHeading(relativePosition, relativeOrientation, relativeHeadingInRadians)
Public Function CreateAttachedFrameOfReferenceAtCurrentHeading (relativePosition As Vector3, relativeOrientation As Quaternion, relativeHeadingInRadians As Double) As SpatialLocatorAttachedFrameOfReference

參數

relativePosition
Vector3 Vector3

float3

參考框架原點的位置位移,以座標系統表示。

relativeOrientation
Quaternion Quaternion

quaternion

參照框架的原點旋轉,相對於標題的方向。

relativeHeadingInRadians
Double

double

從 SpatialLocator 目前方向旋轉固定標題的數量,以弧度為單位。

傳回

定位器附加的參考框架。

屬性

另請參閱

適用於