Пример #1
0
        public static void RequestFillInShape(IMyVoxelBase voxelMap, IMyVoxelShape voxelShape, byte materialIdx)
        {
            MyVoxelBase voxel = voxelMap as MyVoxelBase;
            MyShape     shape = voxelShape as MyShape;

            if ((voxel != null) && (shape != null))
            {
                shape.SendFillRequest(voxel, materialIdx);
            }
        }