Inheritance
System.Object
ScrollInput
Constructors
Declaration
public ScrollInput(float? bufferSize = default(float? ), float? scrollScale = default(float? ))
Parameters
| Type |
Name |
Description |
| System.Nullable<System.Single> |
bufferSize |
|
| System.Nullable<System.Single> |
scrollScale |
|
Methods
Declaration
Returns
| Type |
Description |
| System.Int32 |
|
Declaration
public float getPointerPosX()
Returns
| Type |
Description |
| System.Single |
|
Declaration
public float getPointerPosY()
Returns
| Type |
Description |
| System.Single |
|
Declaration
public Vector2 getScrollDelta(float deltaTime)
Parameters
| Type |
Name |
Description |
| System.Single |
deltaTime |
|
Returns
Declaration
public void onScroll(float deltaX, float deltaY, float pointerX, float pointerY, int buttonId)
Parameters
| Type |
Name |
Description |
| System.Single |
deltaX |
|
| System.Single |
deltaY |
|
| System.Single |
pointerX |
|
| System.Single |
pointerY |
|
| System.Int32 |
buttonId |
|