Make a solid, 3d, make camera, set y rot keyframes on the camera panning across the solid. Now toggle mb for the comp on and off. You’ll see the layer’s anchor point and mask (if you want to make one,) jumping back and forth. Mb for the 3d layer doesn’t even have to be on.