SK.SetWindow
static void SetWindow(IntPtr window)
Android only. This is for telling StereoKit about the active Android window surface. In particular, Xamarin’s ISurfaceHolderCallback2 gets SurfaceCreated and SurfaceDestroyed events, and these events should feed into this function.
IntPtr window | This is an ISurfaceHolder.Surface.Handle or equivalent pointer. |
Found an issue with these docs, or have some additional questions? Create an Issue on Github!