Castor3D 0.16.0
Multiplatform 3D engine
Public Attributes | List of all members
castor3d::TextChar Struct Reference

A character, along with its size and relative position. More...

#include <OverlayModule.hpp>

Public Attributes

castor::Point2f size {}
 
castor::Point2f uvPosition {}
 
castor::Point2f bearing {}
 
float left {}
 
uint32_t word {}
 
uint32_t overlay {}
 
uint32_t index {}
 

Detailed Description

A character, along with its size and relative position.

Member Data Documentation

◆ bearing

castor::Point2f castor3d::TextChar::bearing {}

The glyph position relative to cursor.

◆ index

uint32_t castor3d::TextChar::index {}

The index of this character in the overlays chars.

◆ left

float castor3d::TextChar::left {}

The character position, relative to its line.

◆ overlay

uint32_t castor3d::TextChar::overlay {}

The index of the overlay holding this character.

◆ size

castor::Point2f castor3d::TextChar::size {}

The character dimensions.

◆ uvPosition

castor::Point2f castor3d::TextChar::uvPosition {}

The character UV position.

◆ word

uint32_t castor3d::TextChar::word {}

The index of the word holding this character.


The documentation for this struct was generated from the following file: