Function EditorSpatialGizmoPlugin.createMaterial

Creates an unshaded material with its variants (selected and/or editable) and adds them to the internal material list. They can then be accessed with getMaterial and used in EditorSpatialGizmo.addMesh and EditorSpatialGizmo.addLines. Should not be overridden.

void createMaterial (
  const(String) name,
  const(Color) color,
  const(bool) billboard = false,
  const(bool) on_top = false,
  const(bool) use_vertex_color = false
) nothrow @nogc;