ShaderParamDefOptions.SetAttribute
 
 
 

ShaderParamDefOptions.SetAttribute operator

Introduced

v9.0 (2011)

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.

C# Syntax

ShaderParamDefOptions.SetAttribute( String in_name, Object in_v );

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