VEX Dictionary / atten
atten
Computes simple distance attenuation as attenuation divided by attenuation plus distance.
group: lightmathshadinglight
Available in every context
Usage
float atten(float attenuation, float distance)
Examples
No worked examples yet.
Signatures (from vcc -X)
float atten(float, float)all contexts