mirror of
https://github.com/godotengine/godot.git
synced 2025-01-24 11:32:51 -05:00
Merge pull request #2058 from volzhs/create_from_fnt
add bind method for create_from_fnt (load fnt made by BMFont)
This commit is contained in:
commit
25470dd3a0
1 changed files with 1 additions and 0 deletions
|
@ -510,6 +510,7 @@ float Font::draw_char(RID p_canvas_item, const Point2& p_pos, const CharType& p_
|
|||
|
||||
void Font::_bind_methods() {
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("create_from_fnt","path"),&Font::create_from_fnt);
|
||||
ObjectTypeDB::bind_method(_MD("set_height","px"),&Font::set_height);
|
||||
ObjectTypeDB::bind_method(_MD("get_height"),&Font::get_height);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue