Exemplo n.º 1
0
        public static void RequestPaintInShape(IMyVoxelBase voxelMap, IMyVoxelShape voxelShape, byte materialIdx)
        {
            MyVoxelBase voxel = voxelMap as MyVoxelBase;
            MyShape     shape = voxelShape as MyShape;

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