Maya API get intersection of camera Ray and Grid

Hey folk,

Working on an interactive tool placing an instance of my custom locator on the grid based on the mouse click coordinates. Tried to find some proper methods in MFnMesh class and context relative classes but found nothing about how to get a kWorld MPoint of the intersection of a ray casted from the current camera and the greed in the scene.

If you have any ideas how to get this point, would be really nice to know ) Thanks):):