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