QarAppVolumeGestureMappingRule Struct
Declaration
struct QarAppVolumeGestureMappingRule { ... }
Public Member Attributes Index
Definition at line 776 of file qar_streaming.h.
Public Member Attributes
app_scale_sensitivity_mode
| QarAppScaleSensitivityMode QarAppVolumeGestureMappingRule::app_scale_sensitivity_mode |
|
app_transform_mapping
| QarGestureAppTransformMapping QarAppVolumeGestureMappingRule::app_transform_mapping |
|
controller_ray_style
| QarAppVolumeControllerRayStyle QarAppVolumeGestureMappingRule::controller_ray_style |
|
enable_gestures_from_outside_of_volume
| bool QarAppVolumeGestureMappingRule::enable_gestures_from_outside_of_volume |
|
enabled
| bool QarAppVolumeGestureMappingRule::enabled |
|
gesture_kind
| QarGestureKind QarAppVolumeGestureMappingRule::gesture_kind |
|
header
| QarStructureHeader QarAppVolumeGestureMappingRule::header |
|
precision
| float QarAppVolumeGestureMappingRule::precision |
|
Rule priority is determined by QarAppVolumeGestureConfiguration::mapping_rules order. Earlier rules have higher priority than later rules. When multiple gestures are detected at the same time for the same app volume and source peer, an active gesture matching an earlier rule suppresses gestures that only match later rules. Gesture precision denominator in the target app-volume world. With constant sensitivity, 1.0 maps 1 cm of hand movement to 1 cm of app movement, 2.0 maps 1 cm to 0.5 cm, and 0.5 maps 1 cm to 2 cm. Scale sensitivity multiplies this result after precision is applied. Example: precision = 2.0 and based-on-app-scale with app_scale = 4.0 maps 1 cm hand movement to 2 cm of gesture delta. As app_scale increases, the rendered app gets bigger and this mode makes gesture response faster.
Definition at line 797 of file qar_streaming.h.
rotation_axes
| uint32_t QarAppVolumeGestureMappingRule::rotation_axes |
|
Bitmask composed from QarAppVolumeAxisFlags values, for example QAR_APP_VOLUME_AXIS_Z or QAR_APP_VOLUME_AXIS_ALL.
Definition at line 804 of file qar_streaming.h.
translation_axes
| uint32_t QarAppVolumeGestureMappingRule::translation_axes |
|
Bitmask composed from QarAppVolumeAxisFlags values, for example QAR_APP_VOLUME_AXIS_X | QAR_APP_VOLUME_AXIS_Y.
Definition at line 801 of file qar_streaming.h.
The documentation for this struct was generated from the following file:
Generated via doxygen2docusaurus 2.2.1 by Doxygen 1.9.8.