- Qt 6.8
- Qt Quick 3D
- QML Types
- QtQuick3D.Effects
- EdgeDetect
- Qt Quick 3D | Commercial or GPLv3

# EdgeDetect QML Type

An edge highlighting effect. More...

Import Statement: | import QtQuick3D.Effects 6.8
Status: | Deprecated since 6.5

This type is deprecated since QtQuick3D.Effects 6.5. We strongly advise against using it in new code.

- List of all members, including inherited members

## Properties

- edgeStrength : real

## Detailed Description

Use ExtendedSceneEnvironment, MultiEffect, or user-defined effects via the Effect type instead.

Warning: All pre-made standalone effects in QtQuick3D.Effects are considered deprecated starting with Qt 6.5. Applications are advised to use ExtendedSceneEnvironment or MultiEffect instead, when applicable, or alternatively provide their own custom post-processing effect via the Effect type.

The EdgeDetect effect turns smooth, unchanging areas of the scene darker, while areas of the scene with sharp color changes are brightened to highlight the edges.

## Property Documentation

edgeStrength : real

The strength of the edge highlighting. The range is `[0...1]`. The default value is `0.5`.