BrushStrokes QML Type
笔触噪点效果。更多...
| Import Statement: | import QtQuick3D.Effects 6.12 |
| Status: | Deprecated since 6.5 |
自 QtQuick3D.Effects 6.5 起,此类型已被废弃。我们强烈建议不要在新代码中使用它。
属性
- brushAngle : real
- brushLength : real
- brushSize : real
- noiseSample : TextureInput
详细说明
请改用ExtendedSceneEnvironment 、MultiEffect ,或通过Effect 类型使用用户自定义的特效。
警告: 自 Qt 6.5 起,QtQuick3D.Effects中所有 预制的独立特效均被 视为已弃用。建议应用程序在适用时改用ExtendedSceneEnvironment 或MultiEffect ,或者通过Effect 类型提供自己的自定义后处理特效。

BrushStrokes 效果可模拟对图像进行艺术绘画的效果。
属性文档
brushAngle : real
笔刷噪点纹理的旋转角度,单位为度。默认值为45 。
brushLength : real
使用画笔将图像偏移的距离。合理的数值范围为[0...3] 。默认值为1 。
brushSize : real
画笔的大小。数值越小,画笔尺寸越大。合理的数值范围为[10...200] 。默认值为100 。
noiseSample : TextureInput
笔刷噪点纹理贴图。默认使用Texture ,来源为"maps/brushnoise.png" 。
© 2026 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.