rigProject 0.1.1
RigKit pack API - rigProject
Loading...
Searching...
No Matches
rigkit::ecs::CPage Struct Reference

Page record - data only. More...

#include <rigProject/src/CPage.h>

Public Attributes

float marginFloor = 0.0f
 min-Z face
float marginCeiling = 0.0f
 max-Z face

Detailed Description

Page record - data only.

Speaks rig.layout.page.

Empty unit inherits CProject::defaultUnit. Margins / bleed / slug are face insets on the local AABB (CSS XY order + optional Z min/max), same cuboid as rig.spatial.anchor. Margins inset inward; bleed/slug outward. name is editor-only; the document names the entity with rig.meta.named.

Local origin is sibling CAnchor (rig.spatial.anchor) - the page schema does not carry an anchor field. Absent anchor = top-left / min Z.


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