Is there a way to set an object's "Scale In Lightmap" in a script?

The Lightmapping window's Object tab has a "Scale In Lightmap" parameter, is there a way to set its value in a script?

The other parameters ("Static" and "Atlas") are available through the GameObject and MeshRenderer classes respectively but I've been unable to find any information on how to access "Scale In Lightmap".

It's not exposed as an API (wouldn't be very useful at runtime), but you can access and modify it from Editor scripts via SerializedProperty. Something like:

SerializedObject so = new SerializedObject (go.renderer);
so.FindProperty("m_ScaleInLightmap").floatValue = 0;
so.ApplyModifiedProperties();

I managed to get it to work:

	GameObject test = GameObject.Find ("bread_1_1");
	Renderer rend = test.GetComponent<Renderer>();
	SerializedObject so = new SerializedObject (rend);
	so.FindProperty("m_ScaleInLightmap").floatValue = 50;
	so.ApplyModifiedProperties();