|
rigComponent 0.1.1
RigKit pack API - rigComponent
|
Cuboid cell that is local (0,0,0). More...
#include <rigComponent/src/CAnchor.h>
Public Member Functions | |
| bool | isDefault () const |
| Top-left / min / zero offset - the Contract default, omit on the wire. | |
| glm::vec2 | faceOffsetMm (const glm::vec2 &size) const |
| Offset from AABB min (x,y) to the named face cell. | |
| float | heightOffsetMm (float minZ, float maxZ) const |
Z of the cuboid cell between minZ and maxZ. | |
| glm::vec3 | originMm (const glm::vec3 &bmin, const glm::vec3 &bmax) const |
Local origin inside [bmin, bmax], including offset. | |
Cuboid cell that is local (0,0,0).
Speaks rig.spatial.anchor.
point is the 3×3 face, height the Z slice (min / center / max), offset a local XY nudge after the cell. Axes stay +X +Y +Z - this is an offset into the entity AABB, not a sign flip. Absent component means no remap (pages stay top-left / min). Not CFontAnchor.
|
inline |
Z of the cuboid cell between minZ and maxZ.
Absent height = min.