ShaderParamDefOptions.SetAttribute operator

Introduced

v9.0 (2011)

Categories

ICE Shaders

Description

Sets an attribute by name. The attribute can be named anything and can contain any value. A list of attributes that Softimage understands can be found in siShaderParameterAttribute.

Scripting Syntax

ShaderParamDefOptions.SetAttribute( in_name, in_v );

Parameters

Parameter Type Description
in_name String Name of the attribute to set. One of the siShaderParameterAttribute string constants.
in_v Variant Value to set. This could be one of the Softimage shader string constants (siShaderReferenceFilterType, siShaderPropertyFilterType, siShaderCustomDataType), or a custom value.

See Also

siShaderReferenceFilterType siShaderPropertyFilterType siShaderCustomDataType Shader Parameter Definitions