SpatialSurfaceObserver.IsSupported Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets whether spatial mapping is supported on the current system.
public:
static bool IsSupported();
static bool IsSupported();
public static bool IsSupported();
function isSupported()
Public Shared Function IsSupported () As Boolean
Returns
Boolean
bool
Whether spatial mapping is supported.
Windows requirements
Device family |
Windows 10 Creators Update (introduced in 10.0.15063.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v4.0)
|
App capabilities |
spatialPerception
|
Remarks
This returns true on HoloLens and false elsewhere.