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 void ApplyMaterialPropertyDrawers(Material material);
static def ApplyMaterialPropertyDrawers(material as Material) as void
static function ApplyMaterialPropertyDrawers(targets: Object[]): void;
static void ApplyMaterialPropertyDrawers(Object[] targets);
static def ApplyMaterialPropertyDrawers(targets as Object[]) as void

Description

Apply initial MaterialPropertyDrawer values.

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