Click or drag to resize

EditorSpatialGizmoPluginGetMaterial Method

Gets material from the internal list of materials. If an EditorSpatialGizmo is provided, it will try to get the corresponding variant (selected and/or editable).

Namespace:  Godot
Assembly:  GodotSharpEditor (in GodotSharpEditor.dll) Version: 1.0.0
Syntax
C#
public SpatialMaterial GetMaterial(
	string name,
	EditorSpatialGizmo gizmo = null
)

Parameters

name
Type: SystemString

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

gizmo (Optional)
Type: GodotEditorSpatialGizmo

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

Return Value

Type: SpatialMaterial

[Missing <returns> documentation for "M:Godot.EditorSpatialGizmoPlugin.GetMaterial(System.String,Godot.EditorSpatialGizmo)"]

See Also