Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

Age

For altering particle ages. More...

Import Statement: import QtQuick.Particles
Inherits:

Affector

Properties

Detailed Description

The Age affector allows you to alter where the particle is in its lifecycle. Common uses are to expire particles prematurely, possibly giving them time to animate out.

The Age affector is also sometimes known as a 'Kill' affector, because with the default parameters it will immediately expire all particles which it affects.

The Age affector only applies to particles which are still alive.

Property Documentation

advancePosition : bool

advancePosition determines whether position, veclocity and acceleration are included in the simulated aging done by the affector. If advancePosition is false, then the position, velocity and acceleration will remain the same and only other attributes (such as opacity) will advance in the simulation to where it would normally be for that point in the particle's life. With advancePosition set to true the position, velocity and acceleration will also advance to where it would normally be by that point in the particle's life, making it advance its position on screen.

Default value is true.


lifeLeft : int

The amount of life to set the particle to have. Affected particles will advance to a point in their life where they will have this many milliseconds left to live.


Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded