Click or drag to resize

VisualServerMeshSurfaceSetMaterial Method

Sets a mesh's surface's material.

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

Parameters

mesh
Type: GodotRID

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

surface
Type: SystemInt32

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

material
Type: GodotRID

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

See Also