Assigned mass and CoG

Say I have a solid body to which I assign a custom mass andcentre of gravity position... In motion simulations how doesSolidWorks calculate what the moments of inertia when motion of thepart includes rotation?SolidworksMotion Studies