Source:getCone
EditReturns the directional volume cone of the source. The cone is defined by three values: innerAngle, outerAngle, and outerVolume. If the listener is within innerAngle of the source's direction, the volume won't be changed. Otherwise, the volume will start to decrease, reaching a minimum of outerVolume once the listener is at outerAngle radians from the direction of the source.
innerAngle, outerAngle, outerVolume = Source:getCone()Arguments
None
Returns
| Name | Type | Description |
| innerAngle | number | The inner cone angle, in radians. |
| outerAngle | number | The outer cone angle, in radians. |
| outerVolume | number | The outer volume factor. |
Notes
When a Source is created, its innerAngle is 0, its outerAngle is 0, and its outerVolume is 1 (no cone effect).