이 페이지에서

LodManager QML Type

세부 정보 표시 수준 변경을 관리하는 매니저. 더 보기...

Import Statement: import QtQuick3D.Helpers
Inherits:

Node

속성

상세 설명

이 헬퍼는 세부 수준(LOD) 변경을 처리하는 방법을 제공합니다. 이 헬퍼는 카메라와의 거리를 기준으로 자식 노드의 표시 여부를 변경하여 작동합니다. 임계값은 사용자가 거리 목록을 통해 설정합니다. 첫 번째 거리는 매니저가 첫 번째 자식 노드와 두 번째 자식 노드 등을 표시하는 시점을 전환하는 임계값입니다. 첫 번째 자식 노드는 카메라가 가까울 때 표시되므로 가장 세부적인 모델이어야 합니다. ‘ fadeDistance ’가 설정된 경우, 매니저는 모델의 불투명도를 변경하여 모델 간에 크로스 페이드 효과를 적용합니다. 페이드 효과는 모델 노드에서만 작동합니다.

View3D {
    LodManager {
        camera: camera
        distances: [50, 100]
        fadeDistance: 10

        Model { ... }
        Model { ... }
        Model { ... }
    }
}

속성 설명서

camera : QtQuick3D::Camera

자식 노드까지의 거리를 계산할 카메라를 지정합니다.

distances : list

세부 수준이 변경되는 임계값을 지정합니다. 첫 번째 숫자는 첫 번째 노드가 두 번째 노드로 변경되는 거리이며, 이후에도 이와 같은 방식으로 이어집니다.

fadeDistance : real

세부 수준 간의 크로스페이드가 시작되는 거리를 지정합니다.

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