- clear
void clear()
- createItem
void createItem(long id)
Create a new item in the library, supplied an id.
- findItemByName
long findItemByName(StringArg0 name)
- getItemList
PoolIntArray getItemList()
Return the list of items.
- getItemMesh
Ref!Mesh getItemMesh(long id)
Return the mesh of the item.
- getItemName
String getItemName(long id)
Return the name of the item.
- getItemNavmesh
Ref!NavigationMesh getItemNavmesh(long id)
- getItemPreview
Ref!Texture getItemPreview(long id)
- getItemShapes
Array getItemShapes(long id)
- getLastUnusedItemId
long getLastUnusedItemId()
Get an unused id for a new item.
- opAssign
MeshLibrary opAssign(T n)
Undocumented in source. Be warned that the author may not have intended to support it.
- opEquals
bool opEquals(MeshLibrary other)
Undocumented in source. Be warned that the author may not have intended to support it.
- opEquals
bool opEquals(typeof(null) n)
Undocumented in source. Be warned that the author may not have intended to support it.
- removeItem
void removeItem(long id)
- setItemMesh
void setItemMesh(long id, Mesh mesh)
Set the mesh of the item.
- setItemName
void setItemName(long id, StringArg1 name)
Set the name of the item.
- setItemNavmesh
void setItemNavmesh(long id, NavigationMesh navmesh)
- setItemPreview
void setItemPreview(long id, Texture texture)
- setItemShapes
void setItemShapes(long id, Array shapes)
Library of meshes.
Contains a list of Mesh resources, each with name and ID. Useful for GridMap or painting Terrain.