Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

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

MaterialEditor.ApplyMaterialPropertyDrawers

static function ApplyMaterialPropertyDrawers(material: Material): void;
static function ApplyMaterialPropertyDrawers(targets: Object[]): void;

Description

Apply initial MaterialPropertyDrawer values.

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