================ LightAttenuation ================ .. py:currentmodule:: p3dsdk .. py:class:: LightAttenuation .. py:attribute:: NONE :annotation: = 0 No attenuation :math:`f(d)=1`. .. py:attribute:: LINEAR_SLOW :annotation: = 1 Slow linear attenuation :math:`f(d)=\frac{2}{d+2}`. .. py:attribute:: LINEAR_FAST :annotation: = 2 Fast linear attenuation :math:`f(d)=\frac{1}{d+1}`. .. py:attribute:: QUADRATIC_SLOW :annotation: = 3 Slow quadratic attenuation :math:`f(d)=\frac{1}{d^2+d+1}`. .. py:attribute:: QUADRATIC_FAST :annotation: = 4 Fast quadratic attenuation :math:`f(d)=\frac{10}{2*d^2+5*d+10}`. .. py:attribute:: PHYSICAL :annotation: = 5 Physically realistic attenuation :math:`f(d)=\frac{1}{d^2}`.