Click or drag to resize

EditorSpatialGizmoPluginAddMaterial Method

Adds a new material to the internal material list for the plugin. It can then be accessed with GetMaterial(String, EditorSpatialGizmo). Should not be overridden.

Namespace:  Godot
Assembly:  GodotSharpEditor (in GodotSharpEditor.dll) Version: 1.0.0
Syntax
C#
public void AddMaterial(
	string name,
	SpatialMaterial material
)

Parameters

name
Type: SystemString

[Missing <param name="name"/> documentation for "M:Godot.EditorSpatialGizmoPlugin.AddMaterial(System.String,Godot.SpatialMaterial)"]

material
Type: GodotSpatialMaterial

[Missing <param name="material"/> documentation for "M:Godot.EditorSpatialGizmoPlugin.AddMaterial(System.String,Godot.SpatialMaterial)"]

See Also