LightmapEmissionProperty
Draws the UI for the lightmap emission property of the selected materials, using automatic layout.
阅读时间1 分钟最后更新于 21 天前
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
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
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.