v9.0 (2011)
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.
ShaderParamDefOptions.SetAttribute( String in_name, Object in_v ); |
ShaderParamDefOptions.SetAttribute( in_name, in_v ); |
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. |