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.

用于枚举类型的程序属性。该函数不返回实际的枚举,但是整数指定所选择选项的索引,可用的选项都包含在数组。

参见:GetProceduralPropertyDescriptions, SetProceduralEnum.

 

Page last updated: 2011-9-13