Click or drag to resize

ShaderSetDefaultTextureParam Method

Sets the default texture to be used with a texture uniform. The default is used if a texture is not set in the ShaderMaterial.

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 SetDefaultTextureParam(
	string param,
	Texture texture
)

Parameters

param
Type: SystemString

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

texture
Type: GodotTexture

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

See Also