Click or drag to resize

VisualServerMeshSurfaceGetMaterial Method

Returns a mesh's surface's material.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static RID MeshSurfaceGetMaterial(
	RID mesh,
	int surface
)

Parameters

mesh
Type: GodotRID

[Missing <param name="mesh"/> documentation for "M:Godot.VisualServer.MeshSurfaceGetMaterial(Godot.RID,System.Int32)"]

surface
Type: SystemInt32

[Missing <param name="surface"/> documentation for "M:Godot.VisualServer.MeshSurfaceGetMaterial(Godot.RID,System.Int32)"]

Return Value

Type: RID

[Missing <returns> documentation for "M:Godot.VisualServer.MeshSurfaceGetMaterial(Godot.RID,System.Int32)"]

See Also