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]); }
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."); }