Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


LightmapEmissionFlagsProperty

Draws the UI for setting the global illumination flag of a material.
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule

LightmapEmissionFlagsProperty(int, bool)

Draws the UI for setting the global illumination flag of a material.
public void LightmapEmissionFlagsProperty(int indent, bool enabled)

Parameters

indent

Level of indentation for the property.

enabled

True if emission is enabled for the material, false otherwise.

LightmapEmissionFlagsProperty(int, bool, bool)

Draws the UI for setting the global illumination flag of a material.
public void LightmapEmissionFlagsProperty(int indent, bool enabled, bool ignoreEmissionColor)

Parameters

indent

Level of indentation for the property.

enabled

True if emission is enabled for the material, false otherwise.

ignoreEmissionColor

True if property should always be displayed.