Dela via


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();
public static SpatialLocator GetDefault();
function getDefault()
Public Shared Function GetDefault () As SpatialLocator

Returns

The spatial locator.

Applies to