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
public SpatialMaterial GetMaterial( string name, EditorSpatialGizmo gizmo = null )
[Missing <param name="name"/> documentation for "M:Godot.EditorSpatialGizmoPlugin.GetMaterial(System.String,Godot.EditorSpatialGizmo)"]
[Missing <param name="gizmo"/> documentation for "M:Godot.EditorSpatialGizmoPlugin.GetMaterial(System.String,Godot.EditorSpatialGizmo)"]
[Missing <returns> documentation for "M:Godot.EditorSpatialGizmoPlugin.GetMaterial(System.String,Godot.EditorSpatialGizmo)"]