| UnityXRInputModuleIsAxisPressed Method |
Test whether an axis has a "button press" using our own thresholds
Namespace:
ImmerseSDK.Platforms.UnityXR
Assembly:
ImmerseSDK.NoDll (in ImmerseSDK.NoDll.dll) Version: 3.9.0.0 (3.9.0.0)
Syntax protected bool IsAxisPressed(
string axisName,
float threshold,
ref bool pressed,
ref int pressedFrame,
int releaseFrame
)
Parameters
- axisName
- Type: SystemString
- threshold
- Type: SystemSingle
- pressed
- Type: SystemBoolean
- pressedFrame
- Type: SystemInt32
- releaseFrame
- Type: SystemInt32
Return Value
Type:
BooleanSee Also