This website uses cookies to improve our services and deliver relevant ads.
By interacting with this site, you agree to this use. For more information, see our Cookies Policy

Avatar 1.28 Reference Guide

ovrAvatarHandInputState Struct Reference

Input state for touch controller.

Data Fields

ovrAvatarTransform
Transform for this controller.
uint32_t
Flags mask specifying which buttons are currently pressed.
uint32_t
Flags mask specifying which portions of the controller are currently touched.
float
x-axis position of the thumbstick
float
y-axis position of the thumbstick
float
current value of the index finger trigger
float
current value of the hand trigger (underneath the middle finger)
bool
true if the controller is currently active

Field Documentation

ovrAvatarTransform ovrAvatarHandInputState::transform ( )
Transform for this controller.
uint32_t ovrAvatarHandInputState::buttonMask ( )
Flags mask specifying which buttons are currently pressed.
See Also:
uint32_t ovrAvatarHandInputState::touchMask ( )
Flags mask specifying which portions of the controller are currently touched.
See Also:
float ovrAvatarHandInputState::joystickX ( )
x-axis position of the thumbstick
float ovrAvatarHandInputState::joystickY ( )
y-axis position of the thumbstick
float ovrAvatarHandInputState::indexTrigger ( )
current value of the index finger trigger
float ovrAvatarHandInputState::handTrigger ( )
current value of the hand trigger (underneath the middle finger)
bool ovrAvatarHandInputState::isActive ( )
true if the controller is currently active
The documentation for this struct was generated from the following file: Include/OVR_Avatar.h