Graphics.DrawMesh receive shadows but not cast?

Is it possible to control shadow casting/receiving with Graphics.DrawMesh?

/Patrik

Yes, just use Graphics.DrawMesh() with this signature:

static public void DrawMesh (Mesh mesh, Vector3 position, Quaternion rotation, Material material, int layer, Camera camera, int submeshIndex, MaterialPropertyBlock properties, bool castShadows, bool receiveShadows)

and set castShadows/receiveShadows appropriately.