Sur cette page

LevelOfDetailSwitch QML Type

Permet d'activer des entités enfants en fonction de la distance ou de la taille de l'écran. En savoir plus...

Import Statement: import Qt3D.Render 2.12
In C++: QLevelOfDetailSwitch
Inherits:

Component3D

Status: Deprecated

Ce type est obsolète. Nous déconseillons fortement de l'utiliser dans du nouveau code.

Propriétés

Description détaillée

Ce composant est associé à une entité. Lorsque la distance entre l'entité et la caméra change, le LevelOfDetailSwitch désactive toutes les entités enfants, à l'exception de celle correspondant à l'index currentIndex.

Voir également LevelOfDetail.

Documentation des propriétés

currentIndex : int

L'index de l'entité enfant actuellement sélectionnée.

© 2026 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.