ParticleSystem.PositionType Enum

Module: cc

Enum for particles movement type.

Index

  • FREE
  • RELATIVE
  • GROUPED

Details

FREE

Living particles are attached to the world and are unaffected by emitter repositioning.

meta description
Type Number
Defined in cocos2d/particle/CCParticleSystem.js:100
RELATIVE

In the relative mode, the particle will move with the parent node, but not with the node where the particle is. For example, the coffee in the cup is steaming. Then the steam moves (forward) with the train, rather than moves with the cup.

meta description
Type Number
Defined in cocos2d/particle/CCParticleSystem.js:109
GROUPED

Living particles are attached to the emitter and are translated along with it.

meta description
Type Number
Defined in cocos2d/particle/CCParticleSystem.js:120

results matching ""

    No results matching ""