RegionImage
RegionImage[reg] returns a rasterized grayscale 2D or 3D image of reg.
RegionImage[reg, {{xmin, xmax}, ...}]restricts to the bounds [xmin, xmax] × ....
Examples
RegionImage[Disk[]]RegionImage[Ball[], {{-1, 1}, {-1, 1}, {-1, 1}}]Please visit the official Wolfram Language Reference for more details.