| 240 | } |
| 241 | |
| 242 | void ParticleSystemQuad::setDisplayFrame(SpriteFrame* spriteFrame) |
| 243 | { |
| 244 | AXASSERT(spriteFrame->getOffsetInPixels().isZero(), "QuadParticle only supports SpriteFrames with no offsets"); |
| 245 | |
| 246 | this->setTextureWithRect(spriteFrame->getTexture(), spriteFrame->getRect()); |
| 247 | } |
| 248 | |
| 249 | void ParticleSystemQuad::initIndices() |
| 250 | { |