Color legend plain property method
One mouse button: which one, and its state.
A class, in the namespace BorrowedTorch.MonoInput.Inputs.Mouse. MouseButtonInfo derives from ButtonInfo and has its members too: the state and the five checks. MouseStatus holds the five. The mouse page shows it in context, with code.
Names are colored by what they are: a property or a method; values and fields keep the plain color.
Properties
Type →
MouseButtonTypes · Read-only. Which button it is.
Methods
MouseButtonInfo() →
MouseButtonInfo(MouseButtonTypes type) · A button of the type, Idle. The mouse status makes its own five; one you create is never updated.
| Parameter | Type | Description |
|---|---|---|
type |
MouseButtonTypes |
Which button it is. |
ToString() →
ToString() · The type and the state, such as Left | Pressed.