Manages pinch state, including if an object is being focused via something like a ray (or not).
More...
|
bool | PinchUpAndDownOnFocusedObject [get] |
| We want a pinch up and down gesture to be done while an object is focused. We don't want someone to pinch, unfocus an object, then refocus before doing pinch up. We also want to avoid focusing a different interactable during this process. While the latter is difficult to do since a person might focus nothing before focusing on another interactable, it's theoretically possible. More...
|
|
bool | PinchSteadyOnFocusedObject [get] |
|
bool | PinchDownOnFocusedObject [get] |
|
Manages pinch state, including if an object is being focused via something like a ray (or not).
◆ PinchStateModule()
OculusSampleFramework.PinchStateModule.PinchStateModule |
( |
| ) |
|
◆ UpdateState()
void OculusSampleFramework.PinchStateModule.UpdateState |
( |
OVRHand |
hand, |
|
|
Interactable |
currFocusedInteractable |
|
) |
| |
◆ PinchDownOnFocusedObject
bool OculusSampleFramework.PinchStateModule.PinchDownOnFocusedObject |
|
get |
◆ PinchSteadyOnFocusedObject
bool OculusSampleFramework.PinchStateModule.PinchSteadyOnFocusedObject |
|
get |
◆ PinchUpAndDownOnFocusedObject
bool OculusSampleFramework.PinchStateModule.PinchUpAndDownOnFocusedObject |
|
get |
We want a pinch up and down gesture to be done while an object is focused. We don't want someone to pinch, unfocus an object, then refocus before doing pinch up. We also want to avoid focusing a different interactable during this process. While the latter is difficult to do since a person might focus nothing before focusing on another interactable, it's theoretically possible.
The documentation for this class was generated from the following file: