I have a FAT/NTFS/exFAT partition on my Mac and I want to connect it to the virtual machine directly as a local disk:
Shut down virtual machine and open its configuration.
Navigate to Hardware tab > click "+" button > Hard disk:
In the opened window change Type to Boot Camp:
Change Location to the required hard drive:
Choose the partition you need:
Now, after you start your virtual machine, the partition will be unmounted from the Mac side and will be mounted to the Windows side as the local disk: