Legacy Documentation: Version 5.5
LanguageEnglish
  • C#
  • JS

Script language

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

ProceduralMaterial.preset

Switch to Manual
public string preset;

Description

Set or get an XML string of "input/value" pairs (setting the preset rebuilds the textures).

This allows to quickly save the set of a ProceduralMaterial's settings and to export them or to re-apply them later on.