In questa pagina

LevelOfDetailSwitch QML Type

Offre un modo per abilitare le entità figlie in base alla distanza o alle dimensioni dello schermo. Maggiori informazioni...

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

Component3D

Status: Deprecated

Questo tipo è deprecato. Si sconsiglia vivamente di utilizzarlo nel nuovo codice.

Proprietà

Descrizione dettagliata

Questo componente è assegnato a un'entità. Quando l'entità cambia distanza rispetto alla telecamera, LevelOfDetailSwitch disabiliterà tutte le entità figlie tranne quella corrispondente all'indice currentIndex.

Vedi anche LevelOfDetail.

Documentazione delle proprietà

currentIndex : int

L'indice dell'entità figlia attualmente selezionata.

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