public void CopyFrom(VoxelWorldVolumetricLayerData other) { if (other.voxelLayout.totalDataSize == voxelLayout.totalDataSize) { this.array.CopyFrom(other.array); } }
public VoxelWorldVolumetricLayerData(VoxelWorldVolumetricLayerData cloneSource, Allocator allocator) : this(cloneSource.voxelLayout, new NativeArray <float>(cloneSource.array, allocator), allocator) { }
public VoxelWorldVolumetricLayerDataDebugView(VoxelWorldVolumetricLayerData array) { this.array = array; }