Method TimeInSecondsToIndex
TimeInSecondsToIndex(float)
Converts a time in seconds to an index.
Declaration
public int TimeInSecondsToIndex(float timeInSeconds)
Parameters
Type | Name | Description |
---|---|---|
float | timeInSeconds | Time in seconds to be converted into an index. |
Returns
Type | Description |
---|---|
int | Frame index that corresponds to the time in seconds passed as argument. |