This class is autogenerated. More detailed documentation can be found in the SDFormat spec.

class v18.light.Light.Attenuation(range=10.0, linear=1.0, constant=1.0, quadratic=0.0)

Light attenuation.

range: Range of the light
linear: The linear attenuation factor: 1 means attenuate evenly

over the distance.

constant: The constant attenuation factor: 1.0 means never

attenuate, 0.0 is complete attenutation.

quadratic: The quadratic attenuation factor: adds a curvature to

the attenuation.