Auf dieser Seite

LevelOfDetailSwitch QML Type

Bietet eine Möglichkeit, untergeordnete Elemente je nach Entfernung oder Bildschirmgröße zu aktivieren. Mehr...

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

Component3D

Status: Deprecated

Dieser Typ ist veraltet. Wir raten dringend davon ab, ihn in neuem Code zu verwenden.

Eigenschaften

Ausführliche Beschreibung

Diese Komponente ist einer Entität zugewiesen. Wenn sich der Abstand der Entität zur Kamera ändert, deaktiviert der LevelOfDetailSwitch alle untergeordneten Entitäten mit Ausnahme derjenigen, die dem Index currentIndex entspricht.

Siehe auch „ LevelOfDetail “.

Eigenschaftsdokumentation

currentIndex : int

Der Index der derzeit ausgewählten untergeordneten Entität.

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