ShaderParamDefOptions.SetDefaultValue
 
 
 

ShaderParamDefOptions.SetDefaultValue operator

Introduced

v9.0 (2011)

Description

Sets the default value for this parameter definition. This defines the value that will be set on the instantiated ShaderParameter (Parameter.Default).

C# Syntax

ShaderParamDefOptions.SetDefaultValue( Object in_v );

Scripting Syntax

ShaderParamDefOptions.SetDefaultValue( in_v );

Parameters

Parameter Type Description
in_v Variant Default value to use.

See Also

ShaderParamDef.HasDefaultValue ShaderParamDef.DefaultValue Parameter.Default Parameter.Value