Documentation

Unity Engine

Unity Engine

LightmapEmissionProperty

Draws the UI for the lightmap emission property of the selected materials, using automatic layout.
Read time 1 minuteLast updated 21 days ago

Definition

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

LightmapEmissionProperty()

Draws the UI for the lightmap emission property of the selected materials, using automatic layout.
public void LightmapEmissionProperty()

Remarks

The lightmap emission property controls whether the emission of a material contributes to realtime global illumination, baked global illumination, or neither. For more information, refer to MaterialGlobalIlluminationFlags. This overload uses automatic layout. To set the position and size of the control, use the overload that takes a Rect.

LightmapEmissionProperty(int)

Draws the UI for the lightmap emission property with an indented label, using automatic layout.
public void LightmapEmissionProperty(int labelIndent)

Parameters

labelIndent

The number of levels to indent the label by.

Remarks

The lightmap emission property controls whether the emission of a material contributes to realtime global illumination, baked global illumination, or neither. For more information, refer to MaterialGlobalIlluminationFlags. This overload uses automatic layout. To set the position and size of the control, use the overload that takes a Rect.

LightmapEmissionProperty(Rect, int)

Draws the UI for the lightmap emission property with an indented label, at a specified position.
public void LightmapEmissionProperty(Rect position, int labelIndent)

Parameters

position

The position and size of the control.

labelIndent

The number of levels to indent the label by.

Remarks

The lightmap emission property controls whether the emission of a material contributes to realtime global illumination, baked global illumination, or neither. For more information, refer to MaterialGlobalIlluminationFlags.