SpatialLocator.CreateStationaryFrameOfReferenceAtCurrentLocation 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
CreateStationaryFrameOfReferenceAtCurrentLocation() |
建立一個參考框架,該參考框架會維持與使用者周圍的環境相對,其初始原點位於 SpatialLocator 的目前位置。 |
CreateStationaryFrameOfReferenceAtCurrentLocation(Vector3) |
建立參考框架,該圖文框會相對於使用者周圍的環境保持固定,其初始原點位於 SpatialLocator 目前位置的指定位移。 |
CreateStationaryFrameOfReferenceAtCurrentLocation(Vector3, Quaternion) |
建立一個參考框架,該參考框架會相對於使用者周圍的環境保持固定,其初始原點位於 SpatialLocator 目前位置的指定位移,然後旋轉在指定的旋轉位置。 |
CreateStationaryFrameOfReferenceAtCurrentLocation(Vector3, Quaternion, Double) |
建立一個參考框架,該圖文框會維持相對於使用者周圍的位置,其初始原點位於 SpatialLocator 目前位置的指定位移,以及以弧度為單位的指定相對標題,然後旋轉在指定的旋轉位置。 |
CreateStationaryFrameOfReferenceAtCurrentLocation()
建立一個參考框架,該參考框架會維持與使用者周圍的環境相對,其初始原點位於 SpatialLocator 的目前位置。
public:
virtual SpatialStationaryFrameOfReference ^ CreateStationaryFrameOfReferenceAtCurrentLocation() = CreateStationaryFrameOfReferenceAtCurrentLocation;
/// [Windows.Foundation.Metadata.Overload("CreateStationaryFrameOfReferenceAtCurrentLocation")]
SpatialStationaryFrameOfReference CreateStationaryFrameOfReferenceAtCurrentLocation();
[Windows.Foundation.Metadata.Overload("CreateStationaryFrameOfReferenceAtCurrentLocation")]
public SpatialStationaryFrameOfReference CreateStationaryFrameOfReferenceAtCurrentLocation();
function createStationaryFrameOfReferenceAtCurrentLocation()
Public Function CreateStationaryFrameOfReferenceAtCurrentLocation () As SpatialStationaryFrameOfReference
傳回
參考的固定框架。
- 屬性
另請參閱
- CreateStationaryFrameOfReferenceAtCurrentLocation(Vector3)
- CreateStationaryFrameOfReferenceAtCurrentLocation(Vector3, Quaternion)
- CreateStationaryFrameOfReferenceAtCurrentLocation(Vector3, Quaternion, Double)
適用於
CreateStationaryFrameOfReferenceAtCurrentLocation(Vector3)
建立參考框架,該圖文框會相對於使用者周圍的環境保持固定,其初始原點位於 SpatialLocator 目前位置的指定位移。
public:
virtual SpatialStationaryFrameOfReference ^ CreateStationaryFrameOfReferenceAtCurrentLocation(float3 relativePosition) = CreateStationaryFrameOfReferenceAtCurrentLocation;
/// [Windows.Foundation.Metadata.Overload("CreateStationaryFrameOfReferenceAtCurrentLocationWithPosition")]
SpatialStationaryFrameOfReference CreateStationaryFrameOfReferenceAtCurrentLocation(float3 const& relativePosition);
[Windows.Foundation.Metadata.Overload("CreateStationaryFrameOfReferenceAtCurrentLocationWithPosition")]
public SpatialStationaryFrameOfReference CreateStationaryFrameOfReferenceAtCurrentLocation(Vector3 relativePosition);
function createStationaryFrameOfReferenceAtCurrentLocation(relativePosition)
Public Function CreateStationaryFrameOfReferenceAtCurrentLocation (relativePosition As Vector3) As SpatialStationaryFrameOfReference
參數
傳回
參考的固定框架。
- 屬性
另請參閱
- CreateStationaryFrameOfReferenceAtCurrentLocation()
- CreateStationaryFrameOfReferenceAtCurrentLocation(Vector3, Quaternion)
- CreateStationaryFrameOfReferenceAtCurrentLocation(Vector3, Quaternion, Double)
適用於
CreateStationaryFrameOfReferenceAtCurrentLocation(Vector3, Quaternion)
建立一個參考框架,該參考框架會相對於使用者周圍的環境保持固定,其初始原點位於 SpatialLocator 目前位置的指定位移,然後旋轉在指定的旋轉位置。
public:
virtual SpatialStationaryFrameOfReference ^ CreateStationaryFrameOfReferenceAtCurrentLocation(float3 relativePosition, quaternion relativeOrientation) = CreateStationaryFrameOfReferenceAtCurrentLocation;
/// [Windows.Foundation.Metadata.Overload("CreateStationaryFrameOfReferenceAtCurrentLocationWithPositionAndOrientation")]
SpatialStationaryFrameOfReference CreateStationaryFrameOfReferenceAtCurrentLocation(float3 const& relativePosition, quaternion const& relativeOrientation);
[Windows.Foundation.Metadata.Overload("CreateStationaryFrameOfReferenceAtCurrentLocationWithPositionAndOrientation")]
public SpatialStationaryFrameOfReference CreateStationaryFrameOfReferenceAtCurrentLocation(Vector3 relativePosition, Quaternion relativeOrientation);
function createStationaryFrameOfReferenceAtCurrentLocation(relativePosition, relativeOrientation)
Public Function CreateStationaryFrameOfReferenceAtCurrentLocation (relativePosition As Vector3, relativeOrientation As Quaternion) As SpatialStationaryFrameOfReference
參數
- relativeOrientation
-
Quaternion
Quaternion
quaternion
相對於 SpatialLocator 方向的參照框架原點旋轉。
傳回
參考的固定框架。
- 屬性
另請參閱
- CreateStationaryFrameOfReferenceAtCurrentLocation()
- CreateStationaryFrameOfReferenceAtCurrentLocation(Vector3)
- CreateStationaryFrameOfReferenceAtCurrentLocation(Vector3, Quaternion, Double)
適用於
CreateStationaryFrameOfReferenceAtCurrentLocation(Vector3, Quaternion, Double)
建立一個參考框架,該圖文框會維持相對於使用者周圍的位置,其初始原點位於 SpatialLocator 目前位置的指定位移,以及以弧度為單位的指定相對標題,然後旋轉在指定的旋轉位置。
public:
virtual SpatialStationaryFrameOfReference ^ CreateStationaryFrameOfReferenceAtCurrentLocation(float3 relativePosition, quaternion relativeOrientation, double relativeHeadingInRadians) = CreateStationaryFrameOfReferenceAtCurrentLocation;
/// [Windows.Foundation.Metadata.Overload("CreateStationaryFrameOfReferenceAtCurrentLocationWithPositionAndOrientationAndRelativeHeading")]
SpatialStationaryFrameOfReference CreateStationaryFrameOfReferenceAtCurrentLocation(float3 const& relativePosition, quaternion const& relativeOrientation, double const& relativeHeadingInRadians);
[Windows.Foundation.Metadata.Overload("CreateStationaryFrameOfReferenceAtCurrentLocationWithPositionAndOrientationAndRelativeHeading")]
public SpatialStationaryFrameOfReference CreateStationaryFrameOfReferenceAtCurrentLocation(Vector3 relativePosition, Quaternion relativeOrientation, double relativeHeadingInRadians);
function createStationaryFrameOfReferenceAtCurrentLocation(relativePosition, relativeOrientation, relativeHeadingInRadians)
Public Function CreateStationaryFrameOfReferenceAtCurrentLocation (relativePosition As Vector3, relativeOrientation As Quaternion, relativeHeadingInRadians As Double) As SpatialStationaryFrameOfReference
參數
- relativeOrientation
-
Quaternion
Quaternion
quaternion
參照框架的原點旋轉,相對於標題的方向。
- relativeHeadingInRadians
-
Double
double
在位置位移之前,從 SpatialLocator 目前方向旋轉固定標題的數量,以弧度為單位。
傳回
參考的固定框架。
- 屬性
另請參閱
- CreateStationaryFrameOfReferenceAtCurrentLocation()
- CreateStationaryFrameOfReferenceAtCurrentLocation(Vector3)
- CreateStationaryFrameOfReferenceAtCurrentLocation(Vector3, Quaternion)