rigComponent 0.1.1
RigKit pack API - rigComponent
Loading...
Searching...
No Matches
rigkit::ecs::CText Struct Reference

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

Detailed Description

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).


The documentation for this struct was generated from the following file:
  • packs/rigComponent/src/CText.h