Click or drag to resize

MeshInstanceGetSurfaceMaterial Method

Returns the Material for a surface of the Mesh resource.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public Material GetSurfaceMaterial(
	int surface
)

Parameters

surface
Type: SystemInt32

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

Return Value

Type: Material

[Missing <returns> documentation for "M:Godot.MeshInstance.GetSurfaceMaterial(System.Int32)"]

See Also