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.RegisterPropertyChangeUndo

RegisterPropertyChangeUndo(label: string): void;
void RegisterPropertyChangeUndo(string label);
def RegisterPropertyChangeUndo(label as string) as void

Parameters

labelUndo Label.

Description

Call this when you change a material property. It will add an undo for the action.