FontCharacter: Difference between revisions
From Crumbled World Wiki
(Created page with "{{:FontCharacterExampleCode}} ==Functions== {| class="wikitable" !|return !|function !|description |- |Vec2 |getOffsetToNextChar() |Distance to the next character including character spacing. |- |Vec2 |getLocalOffset() |Offset when of render position to render correctly example, "agh". This character has all defferent start location. |- |Vec2 |getSize() |C...") |
(No difference)
|
Latest revision as of 14:22, 5 July 2025
Functions
| return | function | description |
|---|---|---|
| Vec2 | getOffsetToNextChar() | Distance to the next character including character spacing. |
| Vec2 | getLocalOffset() | Offset when of render position to render correctly example, "agh".
This character has all defferent start location. |
| Vec2 | getSize() | Character render size. |
| Vec2 | getUvCoord() | Max uv coordinated fot this cahracter. |
| Texture | getTexture() | Get a texture to be used during render. |