Click or drag to resize

VisualServerInstanceSetSurfaceMaterial Method

Sets the material of a specific surface. Equivalent to SetSurfaceMaterial(Int32, Material).

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

Parameters

instance
Type: GodotRID

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

surface
Type: SystemInt32

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

material
Type: GodotRID

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

See Also