Click or drag to resize

VisualServerInstanceGeometrySetMaterialOverride Method

Sets a material that will override the material for all surfaces on the mesh associated with this instance. Equivalent to MaterialOverride.

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

Parameters

instance
Type: GodotRID

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

material
Type: GodotRID

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

See Also