ドキュメント

Unity Engine

Unity Engine

LightmapEmissionFlagsProperty

Draws the UI for setting the global illumination flag of a material.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

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.