TryGetInput
method in Coherence.Toolkit
Methods
public bool TryGetInput(long frame, out T input, bool clearPredictionMark = true)
Retrieves input from the buffer for a given frame.
Parameters
Type | Name | Description |
---|---|---|
long | frame | |
T | input | |
bool | clearPredictionMark |
Returns
Type | Description |
---|---|
bool | False if frame is outside of the buffer range or if no input was added to the buffer yet. |