Version: 2017.1

WorldManager.GetNativeISpatialCoordinateSystemPtr

Switch to Manual
public static IntPtr GetNativeISpatialCoordinateSystemPtr ();

Returns

IntPtr Pointer to Windows::Perception::Spatial::ISpatialCoordinateSystem.

Description

Return the native pointer to Windows::Perception::Spatial::ISpatialCoordinateSystem which was retrieved from an Windows::Perception::Spatial::ISpatialStationaryFrameOfReference object underlying the Unity World Origin.

The caller is responsible for releasing the reference after being done with it. This function may return null if there is no ISpatialCoordinateSystem available.