SpatialLocator.GetDefault SpatialLocator.GetDefault SpatialLocator.GetDefault SpatialLocator.GetDefault SpatialLocator.GetDefault Method

Definition

Gets the SpatialLocator instance that tracks the location of the current device, such as a HoloLens, relative to the user's surroundings.

public : static SpatialLocator GetDefault()
static SpatialLocator GetDefault() const;
public static SpatialLocator GetDefault()
Public Shared Function GetDefault() As SpatialLocator
var spatialLocator = Windows.Perception.Spatial.SpatialLocator.getDefault();

Returns