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.

struct EditorSpatialGizmoPlugin
@nogc nothrow
void
createMaterial
(
in String name
,
in Color color
,
in bool billboard = false
,
in bool on_top = false
,
in bool use_vertex_color = false
)

Meta