使用英语阅读

通过


SpatialStageFrameOfReference.GetCoordinateSystemAtCurrentLocation 方法

定义

获取用户当前位置和方向的地面级坐标系。

public:
 virtual SpatialCoordinateSystem ^ GetCoordinateSystemAtCurrentLocation(SpatialLocator ^ locator) = GetCoordinateSystemAtCurrentLocation;
SpatialCoordinateSystem GetCoordinateSystemAtCurrentLocation(SpatialLocator const& locator);
public SpatialCoordinateSystem GetCoordinateSystemAtCurrentLocation(SpatialLocator locator);
function getCoordinateSystemAtCurrentLocation(locator)
Public Function GetCoordinateSystemAtCurrentLocation (locator As SpatialLocator) As SpatialCoordinateSystem

参数

locator
SpatialLocator

具有要用作返回坐标系原点的位置和方向的空间定位符。

返回

坐标系。

注解

坐标系是右手的,+y 向上,+x 向右,向前 -z。

适用于

产品 版本
WinRT Build 15063, Build 16299, Build 17134, Build 17763, Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100