Exemplo n.º 1
0
 private static extern void Initialize(
     int screenWidth,
     int screenHeight,
     float screenDPI,
     [MarshalAs(UnmanagedType.LPStr)] string apiKey,
     [MarshalAs(UnmanagedType.LPArray)] byte[] assetPath,
     ref ConfigParams.NativeConfig config,
     ref ApiCallbacks apiCallbacks,
     [MarshalAs(UnmanagedType.LPStr)] string coverageTreeUrl,
     [MarshalAs(UnmanagedType.LPStr)] string themeUrl
     );
Exemplo n.º 2
0
 private static extern void Initialize(
     int screenWidth,
     int screenHeight,
     float screenDPI,
     [MarshalAs(UnmanagedType.LPStr)] string apiKey,
     [MarshalAs(UnmanagedType.LPStr)] string assetPath,
     ref ConfigParams.NativeConfig config,
     MeshUploader.AllocateUnpackedMeshCallback allocateUnpackedMesh,
     MeshUploader.UploadUnpackedMeshCallback uploadUnpackedMesh,
     MapGameObjectScene.AddMeshCallback addMesh,
     MapGameObjectScene.DeleteMeshCallback deleteMesh,
     MapGameObjectScene.VisibilityCallback setVisible,
     CameraApi.CameraEventCallback cameraEventCallback,
     AssertHandler.HandleAssertCallback assertHandlerCallback,
     TextureLoadHandler.AllocateTextureBufferCallback allocateTextureBuffer,
     TextureLoadHandler.BeginUploadTextureBufferCallback beginUploadTextureBuffer,
     TextureLoadHandler.ReleaseTextureCallback releaseTexture,
     [MarshalAs(UnmanagedType.LPStr)] string coverageTreeUrl,
     [MarshalAs(UnmanagedType.LPStr)] string themeUrl
     );