Class MobileInput
The mobile input device class.
移動輸入裝置類別。
Inherited Members
Namespace: Votanic.vIO.Mobile
Assembly: Votanic.vIO.dll
Syntax
public class MobileInput : Device
Constructors
MobileInput(Int32, Single, Single, Single)
Declare a mobile input.
宣句一個移動輸入。
Declaration
public MobileInput(int index, float axesDeadZone, float axesPressDetect, float holdingDuration)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | |
System.Single | axesDeadZone | |
System.Single | axesPressDetect | |
System.Single | holdingDuration |
Fields
axes
Axes of mobile input.
移動輸入裝置的軸群。
Declaration
public MobileAxes axes
Field Value
Type | Description |
---|---|
MobileAxes |
buttons
Buttons of mobile input.
移動輸入裝置的按鈕群。
Declaration
public MobileButtons buttons
Field Value
Type | Description |
---|---|
MobileButtons |
Methods
Update()
Declaration
public void Update()