25 const char *action_name,
26 const char *profile_path,
27 XrPath subaction_path,
28 const char *subaction_path_str,
29 const GHOST_XrPose &pose);
35 XrSpace m_space = XR_NULL_HANDLE;
44 std::unique_ptr<GHOST_XrActionSpace>
space =
nullptr;
55 GHOST_XrActionType
type,
56 const GHOST_XrActionProfileInfo &info);
62 std::map<XrPath, std::vector<XrActionSuggestedBinding>> &r_bindings)
const;
65 XrPath m_profile = XR_NULL_PATH;
68 std::map<std::string, GHOST_XrSubactionData> m_subaction_data;
70 std::map<std::string, XrPath> m_bindings;
83 const GHOST_XrActionProfileInfo &info);
87 const char *action_name,
88 XrSpace reference_space,
89 const XrTime &predicted_display_time);
91 const char *action_name,
92 const char *subaction_path,
94 const float &frequency,
95 const float &litude);
96 void stopHapticFeedback(XrSession session,
const char *action_name,
const char *subaction_path);
99 void getBindings(
std::map<XrPath, std::vector<XrActionSuggestedBinding>> &r_bindings)
const;
102 using SubactionIndexMap = std::map<std::string, uint32_t>;
104 XrAction m_action = XR_NULL_HANDLE;
105 GHOST_XrActionType m_type;
106 SubactionIndexMap m_subaction_indices;
107 std::vector<XrPath> m_subaction_paths;
111 float *m_float_thresholds;
114 std::unique_ptr<GHOST_C_CustomDataWrapper> m_custom_data_ =
nullptr;
117 std::map<std::string, GHOST_XrActionProfile> m_profiles;
133 XrSpace reference_space,
134 const XrTime &predicted_display_time);
140 void getBindings(
std::map<XrPath, std::vector<XrActionSuggestedBinding>> &r_bindings)
const;
143 XrActionSet m_action_set = XR_NULL_HANDLE;
145 std::unique_ptr<GHOST_C_CustomDataWrapper> m_custom_data_ =
nullptr;
147 std::map<std::string, GHOST_XrAction> m_actions;
struct GHOST_XrSubactionData GHOST_XrSubactionData
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte *bitmap _GL_VOID_RET _GL_VOID GLenum type
in reality light always falls off quadratically Particle Retrieve the data of the particle that spawned the object instance
void getBindings(XrAction action, std::map< XrPath, std::vector< XrActionSuggestedBinding >> &r_bindings) const
const GHOST_XrSubactionData * getSubaction(XrPath subaction_path) const
XrPath getProfile() const
~GHOST_XrActionProfile()=default
GHOST_XrActionProfile()=delete
GHOST_XrActionSet()=delete
void updateStates(XrSession session, XrSpace reference_space, const XrTime &predicted_display_time)
GHOST_XrAction * findAction(const char *action_name)
void getBindings(std::map< XrPath, std::vector< XrActionSuggestedBinding >> &r_bindings) const
bool createAction(XrInstance instance, const GHOST_XrActionInfo &info)
XrActionSet getActionSet() const
void getActionCustomdataArray(void **r_customdata_array)
uint32_t getActionCount() const
void destroyAction(const char *action_name)
GHOST_XrActionSpace()=delete
bool createBinding(XrInstance instance, XrSession session, const GHOST_XrActionProfileInfo &info)
void updateState(XrSession session, const char *action_name, XrSpace reference_space, const XrTime &predicted_display_time)
void getBindings(std::map< XrPath, std::vector< XrActionSuggestedBinding >> &r_bindings) const
void stopHapticFeedback(XrSession session, const char *action_name, const char *subaction_path)
void applyHapticFeedback(XrSession session, const char *action_name, const char *subaction_path, const int64_t &duration, const float &frequency, const float &litude)
void destroyBinding(const char *profile_path)
SocketIndexByIdentifierMap * map
std::unique_ptr< GHOST_XrActionSpace > space