|
rigComponent 0.1.1
RigKit pack API - rigComponent
|
Scene / canvas text run - data only. More...
#include <rigComponent/src/CText.h>
Public Attributes | |
| entt::entity | font {entt::null} |
| Entity with CAssetRef (kind font). entt::null = host default face. | |
| std::string | features |
| e.g. "liga,ss01" - optional OT features string. | |
| float | tracking = 0.f |
| thousandths of an em | |
Scene / canvas text run - data only.
Speaks rig.media.text.
Portable: text, font (rig.media.asset_ref, kind font), fontSize, rgba, axes, features, useKerning. Never store Face*, glyph caches, or GPU handles here - those live in the font fulfillment pack (rigVarFont). Plot bake-to-path text stays on CTexts (rigPlotComponent).