Nesta página

LevelOfDetailSwitch QML Type

Oferece uma maneira de ativar entidades secundárias com base na distância ou no tamanho da tela. Mais...

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

Component3D

Status: Deprecated

Esse tipo está obsoleto. Recomendamos enfaticamente que você não o utilize em código novo.

Propriedades

Descrição detalhada

Este componente é atribuído a uma entidade. Quando a entidade altera a distância em relação à câmera, o LevelOfDetailSwitch desativará todas as entidades filhas, exceto aquela que corresponde ao índice currentIndex.

Veja também LevelOfDetail.

Documentação da propriedade

currentIndex : int

O índice da entidade filha atualmente selecionada.

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