Click or drag to resize

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
C#
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: Boolean
See Also