ShaderArrayParamDef.ItemName
 
 
 

ShaderArrayParamDef.ItemName operator

Introduced

v9.0 (2011)

Description

Returns or sets the array item's base name as a String. When more than one array item based on this definition is instantiated, the base name is suffixed with an index ID. For example, if this property is set to 'West', the first instance will be 'West', the second will be 'West[1]', the third 'West[2]' and so on.

Note: this property has no effect on the ShaderParamDef.DisplayName

C# Syntax

// get accessor
String rtn = ShaderArrayParamDef.ItemName;
// set accessor
ShaderArrayParamDef.ItemName = String;

See Also

ShaderArrayParamDef.ItemInitialCount ShaderArrayParamDef.ItemInitialValues ShaderArrayParameter SIObject.Name Parameter.ScriptName