Translates input events to the configured bounds and takes care of generating events in the correct sequence, as defined by ConsumeInput.
sealed class
|
BoundedInput
|
The bounds to which input events shall be translated.
public
property
|
Bounds
{
get
set
}
|
||
type
|
Box2I
|
||
value
|
The target bounds. |
See also:
InputEvent.TranslateCreates a new instance of BoundedInput.
public
constructor
|
BoundedInput
()
|
Reads the next translated input event.
public
method
|
Pop
()
|
||
type
|
InputEvent
|
||
returns
|
The next translated input event or None if there are no more events. |
See also:
PushWrites an untranslated input event.
public
method
|
Push
(InputEvent inputEvent)
|
||
params
|
inputEvent
|
The untranslated input event. |
See also:
Pop