Legacy Documentation: Version 5.6 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

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

ProceduralMaterial.SetProceduralTexture

Switch to Manual
public void SetProceduralTexture(string inputName, Texture2D value);

Description

Set a named Procedural texture property.

Used for ProceduralProperties of type Texture. The texture needs to be setup with Advanced texture type and Read-Write enabled.

See Also: GetProceduralPropertyDescriptions, GetProceduralTexture.