Function EditorSpatialGizmoPlugin.getMaterial

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).

godot.d.reference.Ref!(godot.spatialmaterial.SpatialMaterial) getMaterial (
  const(String) name,
  EditorSpatialGizmo gizmo
) nothrow @nogc;