QLevelOfDetailSwitch¶
Provides a way of enabling child entities based on distance or screen size. More…
Detailed Description¶
This component is assigned to an entity. When the entity changes distance relative to the camera, the
QLevelOfDetailSwitch
will disable all the child entities except the one matching indexcurrentIndex
.
- class PySide2.Qt3DRender.Qt3DRender.QLevelOfDetailSwitch([parent=None])¶
- param parent:
Constructs a new
QLevelOfDetailSwitch
with the specifiedparent
.
© 2022 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.