Source:getVolume
EditReturns the current volume factor for the Source.
volume = Source:getVolume(units)
Arguments
Name | Type | Default | Description |
units | VolumeUnit | 'linear' | The units to return (linear or db). |
Returns
Name | Type | Description |
volume | number | The volume of the Source. |