starandserpent / Voxel-demo

Demo implementation of Terra using Weltschmerz and Foreman
https://discord.starandserpent.com/
2 stars 1 forks source link

Use Marshal annotation #105

Open Pawlost opened 4 years ago

Pawlost commented 4 years ago

Use this marshal annotation public struct SafeArrayExample { [MarshalAs(UnmanagedType.SafeArray)] public int[] values; } for voxels in chunk, filling and godot array