ShaderParamDef.DefaultValue
 
 
 

ShaderParamDef.DefaultValue operator

Introduced

v9.0 (2011)

Description

Returns or sets the default value for this parameter as a Variant. If no default value is defined for this parameter, this property returns an Empty Variant.

C# Syntax

// get accessor
Object rtn = ShaderParamDef.DefaultValue;
// set accessor
ShaderParamDef.DefaultValue = Object;

See Also

ShaderParamDef.HasDefaultValue ShaderParamDefOptions.SetDefaultValue Parameter.Value