SpatialStageFrameOfReference.GetCoordinateSystemAtCurrentLocation(SpatialLocator) SpatialStageFrameOfReference.GetCoordinateSystemAtCurrentLocation(SpatialLocator) SpatialStageFrameOfReference.GetCoordinateSystemAtCurrentLocation(SpatialLocator) SpatialStageFrameOfReference.GetCoordinateSystemAtCurrentLocation(SpatialLocator) SpatialStageFrameOfReference.GetCoordinateSystemAtCurrentLocation(SpatialLocator) Method

Definition

Gets a floor-level coordinate system at the user's current position and orientation.

public : SpatialCoordinateSystem GetCoordinateSystemAtCurrentLocation(SpatialLocator locator)
SpatialCoordinateSystem GetCoordinateSystemAtCurrentLocation(SpatialLocator locator) const;
public SpatialCoordinateSystem GetCoordinateSystemAtCurrentLocation(SpatialLocator locator)
Public Function GetCoordinateSystemAtCurrentLocation(locator As SpatialLocator) As SpatialCoordinateSystem
var spatialCoordinateSystem = spatialStageFrameOfReference.getCoordinateSystemAtCurrentLocation(locator);

Parameters

locator
SpatialLocator SpatialLocator SpatialLocator

The spatial locator with the position and orientation to use as the origin for the returned coordinate system.

Returns

Remarks

The coordinate system is right-handed, with +y up, +x to the right, and -z forward.