AddInput
method in Coherence.Toolkit
Methods
public bool AddInput(in T input, long frame)
Adds an input to the buffer for a given frame. If the Delay is set, the frame is
offset by its value. This method should be used by the owner of the input; receiving side should use the
ReceiveInput(in T, long) method.
Parameters
| Type | Name | Description |
|---|---|---|
| T | input | |
| long | frame |
Returns
| Type | Description |
|---|---|
| bool | True if input differs from the last input in the buffer. |