- Qt 6.11
- Qt Quick 3D
- QML Types
- QtQuick3D.Helpers
- LodManager
- Qt Quick 3D | Commercial or GPLv3

# LodManager QML Type

Manager that handles level of detail visibility changes. More...

Import Statement: | `import QtQuick3D.Helpers`
Inherits: | Node

- List of all members, including inherited members

## Properties

- camera : QtQuick3D::Camera
- distances : list
- fadeDistance : real

## Detailed Description

This helper provides a way to handle level of detail changes. It works by changing the visibility of its child nodes based on the distance to the camera. The thresholds are determined by the user using the distances list. The first distance is the threshold when the manager changes from showing the first child and the second child etc. The first child should be the most detailed one as it is shown when the camera is close. If fadeDistance is set, the manager cross-fades between models by changing their opacity. Fading only works with model nodes.

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

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

## Property Documentation

### camera : QtQuick3D::Camera

Specifies the camera from which the distance to the child nodes is calculated.

### distances : list

Specifies the thresholds when the detail level changes. The first number is the distance when the first node changes to the second one, etc.

### fadeDistance : real

Specifies the distance at which the cross-fade between the detail levels starts.