Click or drag to resize

ShaderMaterialSetShaderParam Method

Changes the value set for this material of a uniform in the shader. Note: param must match the name of the uniform in the code exactly.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public void SetShaderParam(
	string param,
	Object value
)

Parameters

param
Type: SystemString

[Missing <param name="param"/> documentation for "M:Godot.ShaderMaterial.SetShaderParam(System.String,System.Object)"]

value
Type: SystemObject

[Missing <param name="value"/> documentation for "M:Godot.ShaderMaterial.SetShaderParam(System.String,System.Object)"]

See Also