SpatialLocator.CreateAttachedFrameOfReferenceAtCurrentHeading 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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)
- CreateAttachedFrameOfReferenceAtCurrentHeading(Vector3, Quaternion)
- CreateAttachedFrameOfReferenceAtCurrentHeading(Vector3, Quaternion, Double)
適用於
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
參數
傳回
定位器附加的參考框架。
- 屬性
另請參閱
- CreateAttachedFrameOfReferenceAtCurrentHeading()
- CreateAttachedFrameOfReferenceAtCurrentHeading(Vector3, Quaternion)
- CreateAttachedFrameOfReferenceAtCurrentHeading(Vector3, Quaternion, Double)
適用於
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
參數
- relativeOrientation
-
Quaternion
Quaternion
quaternion
參照框架的原點旋轉,相對於標題的方向。
傳回
定位器附加的參考框架。
- 屬性
另請參閱
- CreateAttachedFrameOfReferenceAtCurrentHeading()
- CreateAttachedFrameOfReferenceAtCurrentHeading(Vector3)
- CreateAttachedFrameOfReferenceAtCurrentHeading(Vector3, Quaternion, Double)
適用於
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
參數
- relativeOrientation
-
Quaternion
Quaternion
quaternion
參照框架的原點旋轉,相對於標題的方向。
- relativeHeadingInRadians
-
Double
double
從 SpatialLocator 目前方向旋轉固定標題的數量,以弧度為單位。
傳回
定位器附加的參考框架。
- 屬性
另請參閱
- CreateAttachedFrameOfReferenceAtCurrentHeading()
- CreateAttachedFrameOfReferenceAtCurrentHeading(Vector3)
- CreateAttachedFrameOfReferenceAtCurrentHeading(Vector3, Quaternion)