Function EditorSpatialGizmoPlugin.addMaterial

Adds a new material to the internal material list for the plugin. It can then be accessed with getMaterial. Should not be overridden.

void addMaterial (
  const(String) name,
  SpatialMaterial material
) nothrow @nogc;