Synced
InputSnapshot.WasMouseButtonPressed
Section titled “InputSnapshot.WasMouseButtonPressed”
- Determines whether a pointer button was newly pressed during this frame.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Input
Declaration
Section titled “Declaration”public bool Inno.Input.InputSnapshot.WasMouseButtonPressed(Inno.Core.Input.MouseButton button)Parameters
Section titled “Parameters”Parameter button: The backend-neutral pointer button.
Returns
Section titled “Returns”true when the button transitioned to down.