|
Blender V4.3
|
#include <GHOST_XrAction.hh>
Public Member Functions | |
| GHOST_XrAction ()=delete | |
GHOST_XrAction | |
| GHOST_XrAction (XrInstance instance, XrActionSet action_set, const GHOST_XrActionInfo &info) | |
| ~GHOST_XrAction () | |
| bool | createBinding (XrInstance instance, XrSession session, const GHOST_XrActionProfileInfo &info) |
| void | destroyBinding (const char *profile_path) |
| void | updateState (XrSession session, const char *action_name, XrSpace reference_space, const XrTime &predicted_display_time) |
| void | applyHapticFeedback (XrSession session, const char *action_name, const char *subaction_path_str, const int64_t &duration, const float &frequency, const float &litude) |
| void | stopHapticFeedback (XrSession session, const char *action_name, const char *subaction_path_str) |
| void * | getCustomdata () |
| void | getBindings (std::map< XrPath, std::vector< XrActionSuggestedBinding > > &r_bindings) const |
Definition at line 77 of file GHOST_XrAction.hh.
|
delete |
| GHOST_XrAction::GHOST_XrAction | ( | XrInstance | instance, |
| XrActionSet | action_set, | ||
| const GHOST_XrActionInfo & | info ) |
Definition at line 186 of file GHOST_XrAction.cc.
| GHOST_XrAction::~GHOST_XrAction | ( | ) |
Definition at line 238 of file GHOST_XrAction.cc.
References CHECK_XR_ASSERT.
| void GHOST_XrAction::applyHapticFeedback | ( | XrSession | session, |
| const char * | action_name, | ||
| const char * | subaction_path_str, | ||
| const int64_t & | duration, | ||
| const float & | frequency, | ||
| const float & | amplitude ) |
Definition at line 368 of file GHOST_XrAction.cc.
References CHECK_XR, and data.
Referenced by GHOST_XrSession::applyHapticAction().
| bool GHOST_XrAction::createBinding | ( | XrInstance | instance, |
| XrSession | session, | ||
| const GHOST_XrActionProfileInfo & | info ) |
Definition at line 245 of file GHOST_XrAction.cc.
Referenced by GHOST_XrSession::createActionBindings().
| void GHOST_XrAction::destroyBinding | ( | const char * | profile_path | ) |
Definition at line 260 of file GHOST_XrAction.cc.
Referenced by GHOST_XrSession::destroyActionBindings().
| void GHOST_XrAction::getBindings | ( | std::map< XrPath, std::vector< XrActionSuggestedBinding > > & | r_bindings | ) | const |
Definition at line 435 of file GHOST_XrAction.cc.
| void * GHOST_XrAction::getCustomdata | ( | ) |
Definition at line 427 of file GHOST_XrAction.cc.
Referenced by GHOST_XrSession::getActionCustomdata().
| void GHOST_XrAction::stopHapticFeedback | ( | XrSession | session, |
| const char * | action_name, | ||
| const char * | subaction_path_str ) |
Definition at line 403 of file GHOST_XrAction.cc.
References CHECK_XR, and data.
Referenced by GHOST_XrSession::stopHapticAction().
| void GHOST_XrAction::updateState | ( | XrSession | session, |
| const char * | action_name, | ||
| XrSpace | reference_space, | ||
| const XrTime & | predicted_display_time ) |
Definition at line 266 of file GHOST_XrAction.cc.
References GHOST_XrSubactionData::axis_flag, CHECK_XR, copy_openxr_pose_to_ghost_pose(), data, GHOST_XrSubactionData::float_threshold, GHOST_XrSubactionData::space, and state.