How to get ground truth 3D occupancy?

I’d like to get a ground truth 3D occupancy grid of my Isaac Sim world, similar to how AirSim did it. Is this possible? I see on the extensions there’s a 2D version, but I want a 3D voxel grid.