GetButton
method in Coherence.Toolkit.CoherenceInput
Methods
public bool GetButton(string buttonName, long? simulationFrame = null)
Returns a state of the button as of the given simulation frame.
Parameters
| Type | Name | Description |
|---|---|---|
| string | buttonName | Name of the button. |
| long? | simulationFrame | Simulation frame for which state is requested. If |
Returns
| Type | Description |
|---|---|
| bool | Value of the button as of the given simulation frame. |