Version: 2018.2
public static LightmapsMode lightmapsMode ;

Description

NonDirectional or CombinedDirectional lightmaps rendering mode.

This property contains the current state of the LightmapEditorSettings. The result of the last bake can be retrieved from the LightmapSettings.lightmapsMode property.

For more information on lightmap modes, see here.