Callback function that is hooked to each frame update. This function will take the skeleton data in each frame using a wrapper function. This will be created for a singular user to start with. On a later date, multiple user data feature will be implemented. The users skeleton data will then be accessible from gdscript by passing back a godot variant object.
Why is this important
This provides Godot users access to the skeleton data obtained in each frame. Which can then be processed in Godot to their liking.
Additional Context
review C++ lambdas
review Godot variant
This needs to be performant -> use of pointers and maybe static variables (as we dont require multiple frame data, only one)
Proposed Change
Callback function that is hooked to each frame update. This function will take the skeleton data in each frame using a wrapper function. This will be created for a singular user to start with. On a later date, multiple user data feature will be implemented. The users skeleton data will then be accessible from gdscript by passing back a godot variant object.
Why is this important
This provides Godot users access to the skeleton data obtained in each frame. Which can then be processed in Godot to their liking.
Additional Context