QML类型说明-Friction

来源:互联网 发布:淘宝男装私人定制 编辑:程序博客网 时间:2024/06/15 16:28

Friction

ImportStatement:   import QtQuick.Particles 2.0

Inherits:      Affector

 

Properties

factor :real

threshold :real

 

DetailedDescription

 

PropertyDocumentation

factor :real

在移动的对象上应用一个阻力,它是当前速度的因子。越大摩擦力越大。

A drag willbe applied to moving objects which is this factor of their current velocity.

 

threshold :real

摩擦力仅仅作用在速度超过threshold的移动对象,当速度降到threshold,不进一步下降。默认为0。
0 0