Legacy Documentation: Version 2018.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

MaterialEditor.LightmapEmissionFlagsProperty

public void LightmapEmissionFlagsProperty(int indent, bool enabled);

Parameters

indentLevel of indentation for the property.
enabledTrue if emission is enabled for the material, false otherwise.

Description

Draws the UI for setting the global illumination flag of a material.

Did you find this page useful? Please give it a rating: