LodManager QML Type
세부 정보 표시 수준 변경을 처리하는 관리자입니다. 자세히...
Import Statement: | import QtQuick3D.Helpers |
Inherits: |
속성
- camera : QtQuick3D::Camera
- distances : list
- fadeDistance : real
상세 설명
이 헬퍼는 세부 수준 변경을 처리하는 방법을 제공합니다. 카메라까지의 거리에 따라 자식 노드의 가시성을 변경하는 방식으로 작동합니다. 임계값은 사용자가 거리 목록을 사용하여 결정합니다. 첫 번째 거리는 관리자가 첫 번째 자식과 두 번째 자식 등을 표시하지 않고 변경할 때 임계값이 됩니다. 첫 번째 자식은 카메라가 가까이 있을 때 표시되므로 가장 자세한 자식이어야 합니다. fadeDistance 을 설정하면 매니저는 불투명도를 변경하여 모델 간에 교차 페이드합니다. 페이드 기능은 모델 노드에서만 작동합니다.
View3D { LodManager { camera: camera distances: [50, 100] fadeDistance: 10 Model { ... } Model { ... } Model { ... } } }
프로퍼티 문서
camera : QtQuick3D::Camera |
자식 노드까지의 거리를 계산하는 카메라를 지정합니다.
distances : list |
디테일 레벨이 변경될 때의 임계값을 지정합니다. 첫 번째 숫자는 첫 번째 노드가 두 번째 노드로 변경될 때의 거리 등입니다.
fadeDistance : real |
디테일 레벨 간 교차 페이드가 시작되는 거리를 지정합니다.
© 2025 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.