Click or drag to resize

ControlAddShaderOverride Method

Overrides the Shader with given name in the Theme resource the control uses. If shader is null or invalid, the override is cleared and the shader from assigned Theme is used.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public void AddShaderOverride(
	string name,
	Shader shader
)

Parameters

name
Type: SystemString

[Missing <param name="name"/> documentation for "M:Godot.Control.AddShaderOverride(System.String,Godot.Shader)"]

shader
Type: GodotShader

[Missing <param name="shader"/> documentation for "M:Godot.Control.AddShaderOverride(System.String,Godot.Shader)"]

See Also