Click or drag to resize

MeshSurfaceSetMaterial Method

Sets a Material for a given surface. Surface will be rendered using this material.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public void SurfaceSetMaterial(
	int surfIdx,
	Material material
)

Parameters

surfIdx
Type: SystemInt32

[Missing <param name="surfIdx"/> documentation for "M:Godot.Mesh.SurfaceSetMaterial(System.Int32,Godot.Material)"]

material
Type: GodotMaterial

[Missing <param name="material"/> documentation for "M:Godot.Mesh.SurfaceSetMaterial(System.Int32,Godot.Material)"]

See Also