TiltShift QML Type

A tilt shift blur effect. 更多...

import 語句: import QtQuick3D.Effects 1.15

特性

詳細描述

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.

另請參閱 DepthOfFieldHQBlur .

特性文檔編製

blurAmount : real

The amount of blur. Amounts above 4 may cause artifacts. Range is [0...10] . 4 在默認情況下。

focusPosition : real

Placement of the focus bar in normalized coordinates. Range is [0...1] . 0.5 在默認情況下。

focusWidth : real

Objects within this normalized range of focusPosition will be in focus. Range is [0...1] . 0.2 在默認情況下。

isInverted : bool

Inverts the blur area, so the center is blurred instead. false 在默認情況下。

isVertical : bool

Makes the effect work vertically instead of horizontally. false 在默認情況下。