BitmapFontAddChar Method |
Adds a character to the font, where character is the Unicode value, texture is the texture index, rect is the region in the texture (in pixels!), align is the (optional) alignment for the character and advance is the (optional) advance.
Namespace: Godot
public void AddChar( int character, int texture, Rect2 rect, Vector2? align = null, float advance = -1f )
[Missing <param name="character"/> documentation for "M:Godot.BitmapFont.AddChar(System.Int32,System.Int32,Godot.Rect2,System.Nullable{Godot.Vector2},System.Single)"]
[Missing <param name="texture"/> documentation for "M:Godot.BitmapFont.AddChar(System.Int32,System.Int32,Godot.Rect2,System.Nullable{Godot.Vector2},System.Single)"]
[Missing <param name="rect"/> documentation for "M:Godot.BitmapFont.AddChar(System.Int32,System.Int32,Godot.Rect2,System.Nullable{Godot.Vector2},System.Single)"]
[Missing <param name="advance"/> documentation for "M:Godot.BitmapFont.AddChar(System.Int32,System.Int32,Godot.Rect2,System.Nullable{Godot.Vector2},System.Single)"]