pub fn add_tile_mesh(
p: &mut Project,
tileset: TileSetId,
name: &str,
mesh: MeshId,
offset: Transform,
material: Option<MaterialId>,
) -> Result<u32>Expand description
Register an existing mesh asset as a tile. Returns the tile index.