Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-92391

Extend attractor API

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • P2: Important
    • 6.2.0 FF
    • 6.1
    • Quick: 3D
    • None

    Description

      Conside adding couple properties into attractor:

      • "bool useCachedPositions" which would default to true (current behavior). When set to false, m_shapePositionList is not generated and position is taken live from the shape in affectParticle(). This way attractor works also when shape rotation, scale etc. changes during the particle system run.
      • "int positionsAmount" which would set the amount of cached positions, so only affects when cachedPositions is true. Currently amount is same as affected particles amount, but users may want to use bigger amount to make it more random or smaller amount to save memory.

      Attachments

        For Gerrit Dashboard: QTBUG-92391
        # Subject Branch Project Status CR V

        Activity

          People

            tuliniemi Jere Tuliniemi
            kagro Kaj Grönholm
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes