QQuick3DSpotLight initializes m_innerConeAngle = -1, but you cannot set it back to -1 if you ever change it, as it is limited to range [0, 180] .
It should either be initialized to a valid value or -1 should be included in the range of valid values.
Also, default values of cone angle properties are not documented.
For Gerrit Dashboard: QTBUG-82854 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
294595,4 | Adjust default values of Spotlight cone angles | 5.15 | qt/qtquick3d | Status: MERGED | +2 | 0 |