Details
Description
Both QSpotLight and QPointLight have the same three attenuation values, but the API to access them is different. QPointLight has three separate float properties, one for each attenuation value. QSpotLight has a single QVector3D property to set all attenuation values at once.
The APIs should be consistent.