Struct Leap::InputActions::XRHandsInputActionUpdater::LeapHandStateDelegates¶
- struct Leap.InputActions.XRHandsInputActionUpdater.LeapHandStateDelegates¶
A collection of delegates for users to override with their own methods if necessary. E.g. If LeapHandStateDelegates.aimPositionDelegate = OverrideAimPosToPalmPos, it would always return the palm position of hand:
Vector3 OverrideAimPosToPalmPos(Hand hand) { return hand.PalmPosition; }