コード例 #1
0
 public void CopyFrom(VoxelWorldVolumetricLayerData other)
 {
     if (other.voxelLayout.totalDataSize == voxelLayout.totalDataSize)
     {
         this.array.CopyFrom(other.array);
     }
 }
コード例 #2
0
 public VoxelWorldVolumetricLayerData(VoxelWorldVolumetricLayerData cloneSource, Allocator allocator) : this(cloneSource.voxelLayout, new NativeArray <float>(cloneSource.array, allocator), allocator)
 {
 }
コード例 #3
0
 public VoxelWorldVolumetricLayerDataDebugView(VoxelWorldVolumetricLayerData array)
 {
     this.array = array;
 }