MCPcopy Create free account
hub / github.com/StereoKit/StereoKit / input_hand_solid

Function input_hand_solid

StereoKitC/hands/input_hand.cpp:806–817  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

804///////////////////////////////////////////
805
806void input_hand_solid(handed_ hand, bool32_t solid) {
807 if (hand == handed_max) {
808 input_hand_solid(handed_left, solid);
809 input_hand_solid(handed_right, solid);
810 return;
811 }
812
813 hand_state[hand].solid = solid;
814 for (int32_t i = 0; i < SK_FINGER_SOLIDS; i++) {
815 solid_set_enabled(hand_state[hand].solids[i], solid);
816 }
817}
818
819///////////////////////////////////////////
820

Callers

nothing calls this directly

Calls 1

solid_set_enabledFunction · 0.85

Tested by

no test coverage detected