◆ glyph_atlas_info()
- Parameters
-
| position | Pixel coordinate (x, y), z: texture map number. |
| size | Number of pixels in width and height |
| border_scale | The amount to scale a polygon to add a border. |
| texture_coordinate_scale | The amount to scale texel coordinate to UV (0.0-1.0) coordinates. |
◆ border_scale
| scale2 v1::glyph_atlas_info::border_scale |
The scaling factor used for scaling a quad to include the border.
◆ position
| point3 v1::glyph_atlas_info::position |
pixel coordinates.
- (x, y): pixel coordinate of left-bottom corner of the glyph in the atlas.
- z: index in the texture map array.
◆ size
Size of the glyph in pixels in the texture map.
◆ texture_coordinates
The position and size of the glyph in the texture in UV coordinates.
The coordinates are relative values between 0.0 - 1.0 between the edges of the texture map.
The documentation for this class was generated from the following file: