Click or drag to resize

MeshInstanceSetSurfaceMaterial Method

Sets the Material for a surface of the Mesh resource.

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

Parameters

surface
Type: SystemInt32

[Missing <param name="surface"/> documentation for "M:Godot.MeshInstance.SetSurfaceMaterial(System.Int32,Godot.Material)"]

material
Type: GodotMaterial

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

See Also