TiltShift QML Type

A tilt shift blur effect. More...

Import Statement: import QtQuick3D.Effects 1.0

Properties

Detailed Description

The TiltShift effect simulates depth of field in a simple and performant manner. Instead of blurring based on the depth buffer, it blurs everything except for a horizontal or vertical stripe on the layer.

See also DepthOfFieldHQBlur.

Property Documentation

blurAmount : real

The amount of blur. Amounts above 4 may cause artifacts. Range is [0...10]. 4 by default.


focusPosition : real

Placement of the focus bar in normalized coordinates. Range is [0...1]. 0.5 by default.


focusWidth : real

Objects within this normalized range of focusPosition will be in focus. Range is [0...1]. 0.2 by default.


isInverted : bool

Inverts the blur area, so the center is blurred instead. false by default.


isVertical : bool

Makes the effect work vertically instead of horizontally. false by default.


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