Esempio n. 1
0
 public UnrealArrayReadOnly <T> FromNative(IntPtr nativeBuffer, int arrayIndex, UnrealObject owner)
 {
     if (Wrappers[arrayIndex] == null)
     {
         Wrappers[arrayIndex] = new UnrealArrayReadOnly <T>(owner, NativeProperty, nativeBuffer + arrayIndex * Marshal.SizeOf(typeof(ScriptArray)), null, InnerTypeFromNative);
     }
     return(Wrappers[arrayIndex]);
 }
Esempio n. 2
0
 public void ToNative(IntPtr nativeBuffer, int arrayIndex, UnrealObject owner, UnrealArrayReadOnly <T> obj)
 {
     throw new NotImplementedException("Copying UnrealArrays from managed memory to native memory is unsupported.");
 }