Provides a way of enabling child entities based on distance or screen size. More...
Import Statement: | import Qt3D.Render |
Since: | Qt 5.9 |
Instantiates: | QLevelOfDetailSwitch |
Inherits: |
This component is assigned to an entity. When the entity changes distance relative to the camera, the LevelOfDetailSwitch will disable all the child entities except the one matching index currentIndex.
See also LevelOfDetail.
currentIndex : int
The index of the presently selected child entity.
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.2/qml-qt3d-render-levelofdetailswitch.html