Legacy Documentation: Version 5.1
LanguageEnglish
  • C#
  • JS

Script language

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

MaterialEditor.ApplyMaterialPropertyDrawers

Switch to Manual
public static function ApplyMaterialPropertyDrawers(material: Material): void;
public static function ApplyMaterialPropertyDrawers(targets: Object[]): void;

Parameters

Description

Apply initial MaterialPropertyDrawer values.

This calls all MaterialPropertyDrawer.Apply functions on all properties that have custom drawers.