ProceduralMaterial.GetProceduralEnum Manual     Reference     Scripting  
Scripting > Runtime Classes > ProceduralMaterial
ProceduralMaterial.GetProceduralEnum

function GetProceduralEnum (inputName : String) : int

Description

Get a named Procedural enum property.

Used for Procedural properties of type Enum. The function does not return an actual enum but an integer specifying the index of the selected option. The available options are contained in the array ProceduralPropertyDescription.enumOptions.

See Also: GetProceduralPropertyDescriptions, SetProceduralEnum.