Questions tagged [caemittercell]

The CAEmitterCell class is available in OS X v10.6 and later, and represents one source of particles being emitted by a CAEmitterLayer object.

The CAEmitterCell class represents one source of particles being emitted by a CAEmitterLayer object. An emitter cell defines the direction and properties of the emitted particles. Emitter cells can have an array of sub-cells, which lets the particles themselves emit particles.

51 questions
0
votes
1 answer

Custom animation for CAEmitterCell

I have a CAEmitterLayer and I'd like to have a simple animation run over the course of each particle's life. As soon as particle pops in, I'd like it to scale up to about 1.2, then after a short time have it scale back to 1.0 and stay that way until…
drix
  • 21
  • 3
0
votes
0 answers

Particle emitter works in one app, but not another

I've been experiencing some difficulties with particle effects. Originally I posted a question about how the particle effects in my app were different when on an ios6 device. Particle system looks different on iOS 6 and ios7 I Originally designed…
Matthew
  • 13
  • 5
0
votes
1 answer

Render CAEmitterLayer (somehow)

I really need to capture a CAEmitterLayer as an image to render in my context. I know that renderInContext method does not suport CAEmitterLayer, i have found many questions about it but no good answers. I was able to achieve my goal by using new…
douglasd3
  • 761
  • 2
  • 10
  • 27
-1
votes
1 answer

How To Change Contents Of A CAEmitterCell In A CAEmitterLayer Particle Emitter

Background I have a function that creates a core animation emitter layer that animates myImage1, in the code below. I want to change myImage1 to myImage2 to myImage3 and back to myImage1 after a delay of 10 seconds or every time a button is…
user4806509
  • 2,925
  • 5
  • 37
  • 72
-1
votes
1 answer

Is KVC possible with Swift?

I'm trying to create the equivalent of the following Objective-C in Swift. [emitterLayer setValue:@ (scale) forKeyPath:@"emitterCells.cell.emitterCells.childCell.scale"]; I have tried the following in Swift: emitterLayer.setValue (scale), forKey:…
-2
votes
1 answer

CAEmitterLayer's emissionLongitude and latitude in swift

hello I have a question about emissionLongitude and latitude i don't know what are they used for. I currently study a tutorial book about animations and I am on CAEmitterLayer right now and i have stopped studying because I don't know about these…
1 2 3
4