public static void ExportAsync(WorldAnchorTransferBatch transferBatch, SerializationDataAvailableDelegate onDataAvailable, SerializationCompleteDelegate onCompleted)
 {
     if (transferBatch == null)
     {
         throw new ArgumentNullException("transferBatch");
     }
     if (onDataAvailable == null)
     {
         throw new ArgumentNullException("onDataAvailable");
     }
     if (onCompleted == null)
     {
         throw new ArgumentNullException("onCompleted");
     }
     ExportAsync_Internal(transferBatch.m_NativePtr, onDataAvailable, onCompleted);
 }
Пример #2
0
 public static void ExportAsync(WorldAnchorTransferBatch transferBatch, SerializationDataAvailableDelegate onDataAvailable, SerializationCompleteDelegate onCompleted)
 {
     if (transferBatch == null)
     {
         throw new ArgumentNullException("transferBatch");
     }
     if (onDataAvailable == null)
     {
         throw new ArgumentNullException("onDataAvailable");
     }
     if (onCompleted == null)
     {
         throw new ArgumentNullException("onCompleted");
     }
     ExportAsync_Internal(transferBatch.m_NativePtr, onDataAvailable, onCompleted);
 }
 private static extern void ExportAsync_Internal(IntPtr transferBatch, SerializationDataAvailableDelegate onDataAvailable, SerializationCompleteDelegate onComplete);
 private static void InvokeWorldAnchorSerializationDataAvailableDelegate(SerializationDataAvailableDelegate onSerializationDataAvailable, byte[] data)
 {
     onSerializationDataAvailable(data);
 }
 private static void InvokeWorldAnchorSerializationDataAvailableDelegate(SerializationDataAvailableDelegate onSerializationDataAvailable, byte[] data)
 {
     onSerializationDataAvailable(data);
 }
Пример #6
0
 private static extern void ExportAsync_Internal(IntPtr transferBatch, SerializationDataAvailableDelegate onDataAvailable, SerializationCompleteDelegate onComplete);