LanguageEnglish
  • C#
  • JS

Script language

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

This version of Unity is unsupported.
Method group is Obsolete

ProceduralMaterial.ClearCache

Switch to Manual
Obsolete public void ClearCache();

Description

Clear the Procedural cache.

This frees up all memory used by the cache and sets all properties to not be cached anymore. Use this when you don't expect to make anymore changes to the ProceduralProperties for now.

See Also: CacheProceduralProperty.