Function EditorSpatialGizmoPlugin.createIconMaterial

Creates an icon 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.addUnscaledBillboard. Should not be overridden.

void createIconMaterial (
  const(String) name,
  Texture texture,
  const(bool) on_top = false,
  const(Color) color = Color(0.00000F, 0.00000F, 0.00000F, 1.00000F, ).this(1.00000F, 1.00000F, 1.00000F, 1.00000F)
) nothrow @nogc;