diff options
author | Alan Alpert <alan.alpert@nokia.com> | 2011-06-08 17:55:41 +1000 |
---|---|---|
committer | Alan Alpert <alan.alpert@nokia.com> | 2011-06-08 18:03:39 +1000 |
commit | c8a5c00ec1c06f7c00070d55cd61cb8d52dc67cf (patch) | |
tree | 95caddcee9dd998e128e22d64c4ba23dfab747b6 /examples/declarative/particles/trails/layered.qml | |
parent | 1f88f2ceedf00f96e2491ecdd1c655b0f12f3632 (diff) |
Immense Particles Refactor Part D
Changed the names of several properties:
FollowEmitter:
emissionShape->emitShape
emissionHeight->emitHeight
emissionWidth->emitWidth
Emitter:
particlesPerSecond->emitRate
particleDuration->lifeSpan
particleDurationVariation->lifeSpanVariation
maxParticles->emitCap
particleSize->size
particleEndSize->endSize
particleSizeVariation->sizeVariation
ImageParticle:
image->source
And stopped being silly in the example launcher.
Diffstat (limited to 'examples/declarative/particles/trails/layered.qml')
-rw-r--r-- | examples/declarative/particles/trails/layered.qml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/declarative/particles/trails/layered.qml b/examples/declarative/particles/trails/layered.qml index b2895dd617..d4a823b556 100644 --- a/examples/declarative/particles/trails/layered.qml +++ b/examples/declarative/particles/trails/layered.qml @@ -59,20 +59,20 @@ Rectangle{ system: sys y:root.height + 20 width: root.width - particlesPerSecond: 200 - particleDuration: 4000 + emitRate: 200 + lifeSpan: 4000 speed: PointDirection{ y: -120; } } ImageParticle{ system: sys visible: !cloneMode - image: "content/particle2.png" + source: "content/particle2.png" } ImageParticle{ system: sys visible: cloneMode z: 0 - image: "content/particle3.png" + source: "content/particle3.png" } ImageParticle{ system: sys @@ -82,6 +82,6 @@ Rectangle{ height: 240 width: root.width z: 1 - image: "content/particle.png" + source: "content/particle.png" } } |