Function MeshLibrary.createItem

Creates a new item in the library with the given ID. You can get an unused ID from getLastUnusedItemId.

void createItem (
  const(long) id
) nothrow @nogc;