ProceduralMaterial.SetProceduralEnum 设置程序枚举

function SetProceduralEnum (inputName : String, value : int) : void

Description描述

Set 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