ScaleAffector3D QML Type
Particle scale affector. More...
|Import Statement:||import QtQuick3D.Particles3D|
- ScalingType : enumeration
- duration : int
- easingCurve : EasingCurve
- maxSize : real
- minSize : real
- type : ScalingType
Scale affector scales the particle size based on its lifetime and parameters.
ScalingType : enumeration
Defines the scaling type of the affector.
|The scale is calculated using the easing curve to interpolate between minimum and maximum scale size between duration milliseconds and then continues from the minimum size.|
|The scale is calculated using the easing curve to interpolate between minimum and maximum scale size between duration milliseconds on a rising edge then continues from maximum to minimum on a falling edge.|
|The scale follows the sine wave. Easing curve is not used.|
|The scale follows the sine wave except negative values are inverted. Easing curve is not used.|
|The scale stays at minimum size until half of the duration milliseconds have passed then steps directly to the maximum size. Easing curve is not used.|
|The scale smootly transitions from minimum to maximum size. Easing curve is not used.|
duration : int
This property holds the duration of scaling cycle in milliseconds. The default is 1000.
easingCurve : EasingCurve
This property holds the easing curve providing more fine tuned control on how the scaling occurs. The easing curve is used with
SewSaw scaling types. The default easing curve provides linear value between [0, 1].
maxSize : real
This property holds the maximum size the affector can scale the particle. The default is 1.0.
minSize : real
This property holds the minimum size the affector can scale the particle. The default is 1.0.
type : ScalingType
This property holds the scaling type of the affector. The default value is
© 2022 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.