Click or drag to resize

SpatialMaterialSetTexture Method

Note: This API is now obsolete.

Sets the Texture to be used by the specified SpatialMaterialTextureParam. This function is called when setting members ending in *_texture.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
[ObsoleteAttribute("SetTexture is deprecated. Use the DetailNormal property instead.")]
public void SetTexture(
	SpatialMaterialTextureParam param,
	Texture texture
)

Parameters

param
Type: GodotSpatialMaterialTextureParam

[Missing <param name="param"/> documentation for "M:Godot.SpatialMaterial.SetTexture(Godot.SpatialMaterial.TextureParam,Godot.Texture)"]

texture
Type: GodotTexture

[Missing <param name="texture"/> documentation for "M:Godot.SpatialMaterial.SetTexture(Godot.SpatialMaterial.TextureParam,Godot.Texture)"]

See Also