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.

ProceduralMaterial.SetProceduralTexture

SetProceduralTexture(inputName: string, value: Texture2D): void;
void SetProceduralTexture(string inputName, Texture2D value);
def SetProceduralTexture(inputName as string, value as Texture2D) as void

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.