Adjusting Alpha cutoff through code

Is there a way to adjust the Alpha cutoff of the Transparent/cutout/diffuse shader though code? Or any shader setting through code in general?

For anyone in the future who comes across this question, the specific answer is

renderer.material.SetFloat("_Cutoff", cutOffValue);

I was thrown myself thinking the parameter was called “_Alpha cutoff” or something along those lines.

Look in the docs for the Material class, particularly SetFloat in this case.