Method GetValueAt
GetValueAt(float)
Get the value of the envelope at a given time relative to the envelope start.
Declaration
public float GetValueAt(float offset)
Parameters
Type | Name | Description |
---|---|---|
float | offset | Time in seconds from the envelope start |
Returns
Type | Description |
---|---|
float | Envelope amplitude. This will range from 0...1 |