Scatter QML Type | Qt Quick 3D 6.4.0

- Qt 6.4
- Qt Quick 3D
- QML Types
- QtQuick3D.Effects
- Scatter
- Qt Quick 3D | Commercial or GPLv3

# Scatter QML Type

A scatter noise effect. More...

Import Statement: | import QtQuick3D.Effects 6.4

- List of all members, including inherited members

## Properties

- amount : real
- direction : int
- noiseSample : TextureInput
- randomize : bool

## Detailed Description

Scatters the pixels in a scene, creating a blurry or smeared appearance. Without changing the color of each individual pixel, the Scatter effect redistributes the pixels randomly, but in the same general area as their original positions.

## Property Documentation

amount : real

Determines how much to scatter. The range is `[0...127]`. The default value is `10`.

direction : int

The direction in which to scatter the pixels. Set to `0` for both horizontal and vertical, `1` for horizontal, and `2` for vertical. The default value is `0`.

noiseSample : TextureInput

The scatter noise texture map. The default is a Texture with source `"maps/brushnoise.png"`.

randomize : bool

Specifies whether the scattering pattern changes for each frame. The default value is `true`.