rigImGui 0.1.1
RigKit pack API - rigImGui
Loading...
Searching...
No Matches
AnchorPad.h File Reference

Face + height origin pad widget. More...

Enumerations

enum class  rigkit::AnchorPadHit
 Which part of AnchorPad the user clicked.

Functions

AnchorPadHit rigkit::AnchorPad (const char *label, int *face, int *height)
 3×3 face pad + optional Z column (4×3).

Detailed Description

Face + height origin pad widget.

Function Documentation

◆ AnchorPad()

AnchorPadHit rigkit::AnchorPad ( const char * label,
int * face,
int * height )

3×3 face pad + optional Z column (4×3).

Face cells are 0..8 (rig.spatial.anchor.point, top-left ... bottom-right; top row is max Y). Height cells are 0 min / 1 center / 2 max, drawn top-to-bottom as Max, Center, Min. Pass null to hide that group. Values outside the valid range draw unselected. Click writes the index.