Lines Matching refs:this

62             return *this;  in IsFixedSizeMemory()
69 return *this; in MaxChildren()
76 return *this; in MaxCallbacks()
120 this->Transform().SetTranslate(x, y, z); in SetTranslate()
128 this->Transform().SetTranslate(translate); in SetTranslate()
134 this->Transform().GetTranslate(translate); in GetTranslate()
144 this->Transform().SetRotateXYZ(radX, radY, radZ ); in SetRotate()
154 this->Transform().SetScale(x, y, z); in SetScale()
162 u32 emitterNum = this->GetParticleEmitterSize(); in SetStepFrame()
165 nw::gfx::ParticleEmitter* emitter = this->GetParticleEmitter(i); in SetStepFrame()
169 u32 modelNum = this->GetParticleModelSize(); in SetStepFrame()
173 nw::gfx::ParticleModel* model = this->GetParticleModel(i); in SetStepFrame()
183 u32 emitterNum = this->GetParticleEmitterSize(); in SetFrame()
186 nw::gfx::ParticleEmitter* emitter = this->GetParticleEmitter(i); in SetFrame()
190 u32 modelNum = this->GetParticleModelSize(); in SetFrame()
194 nw::gfx::ParticleModel* model = this->GetParticleModel(i); in SetFrame()
208 for (u32 i = 0; i < this->GetParticleModelSize(); ++i) in AddTimes()
210 this->GetParticleModel(i)->UpdateParticleFrame(); in AddTimes()
213 for (u32 i = 0; i < this->GetParticleEmitterSize(); ++i) in AddTimes()
215 this->GetParticleEmitter(i)->UpdateParticleFrame(); in AddTimes()
216 this->GetParticleEmitter(i)->Emission(particleContext); in AddTimes()
219 for (u32 i = 0; i < this->GetParticleModelSize(); ++i) in AddTimes()
221 for (u32 j = 0; j < this->GetParticleModel(i)->GetParticleSetsCount(); ++j) in AddTimes()
223 this->GetParticleModel(i)->GetParticleSets(j)->UpdateParticles(particleContext); in AddTimes()
235 u32 emitterNum = this->GetParticleEmitterSize(); in Reset()
238 nw::gfx::ParticleEmitter* emitter = this->GetParticleEmitter(i); in Reset()
242 u32 modelNum = this->GetParticleModelSize(); in Reset()
246 nw::gfx::ParticleModel* model = this->GetParticleModel(i); in Reset()
257 u32 emitterNum = this->GetParticleEmitterSize(); in SetEmissionRatio()
260 nw::gfx::ParticleEmitter* emitter = this->GetParticleEmitter(i); in SetEmissionRatio()
275 u32 modelNum = this->GetParticleModelSize(); in GetParticleSize()
279 nw::gfx::ParticleModel* model = this->GetParticleModel(i); in GetParticleSize()
295 u32 modelNum = this->GetParticleModelSize(); in IsDone()
298 nw::gfx::ParticleModel* model = this->GetParticleModel(i); in IsDone()
305 u32 emitterNum = this->GetParticleEmitterSize(); in IsDone()
308 nw::gfx::ParticleEmitter* emitter = this->GetParticleEmitter(i); in IsDone()
325 u32 emitterNum = this->GetParticleEmitterSize(); in IsInfinity()
328 nw::gfx::ParticleEmitter* emitter = this->GetParticleEmitter(i); in IsInfinity()
346 u32 modelNum = this->GetParticleModelSize(); in SetParticleScaleOffset()
350 nw::gfx::ParticleModel* model = this->GetParticleModel(i); in SetParticleScaleOffset()
367 u32 modelNum = this->GetParticleModelSize();
371 nw::gfx::ParticleModel* model = this->GetParticleModel(i);
386 for (u32 i = 0; i < this->GetParticleEmitterSize(); ++i) in Emission()
388 nw::gfx::ParticleEmitter* emitter = this->GetParticleEmitter(i); in Emission()
438 if (this->GetParticleModelSize() > index) in GetParticleModel()
450 if (this->GetParticleEmitterSize() > index) in GetParticleEmitter()
463 u32 modelNum = this->GetParticleModelSize(); in GetParticleSet()
467 nw::gfx::ParticleModel* model = this->GetParticleModel(i); in GetParticleSet()
570 NW_ASSERT(this->GetActiveSize() == 0); in ~ParticleEffect()
571 this->FreePool(); in ~ParticleEffect()
604 if (this->GetFreeSize() == 0) in LeaseInstance()
606 if (this->m_AutoAlocate) in LeaseInstance()
608 this->AddPool(1); in LeaseInstance()
616 ParticleHandle* node = this->m_FreeInstances.Back(); in LeaseInstance()
617 this->m_FreeInstances.PopBack(); in LeaseInstance()
618 this->m_ActiveInstances.PushBack(node); in LeaseInstance()
620 this->ResetParticle(node); in LeaseInstance()
633 int activeCount = this->GetActiveSize(); in ReleaseInstance()
634 this->m_ActiveInstances.EraseFind(topNode); in ReleaseInstance()
635 NW_ASSERT(this->GetActiveSize() == activeCount - 1); in ReleaseInstance()
637 this->m_FreeInstances.PushBack(topNode); in ReleaseInstance()
659 if (index < 0 || index >= this->GetActiveSize()) in GetActiveEffect()
664 return this->m_ActiveInstances[index]; in GetActiveEffect()
705 return this->GetFreeSize() + this->GetActiveSize(); in GetPoolSize()
711 return this->m_FreeInstances.Size(); in GetFreeSize()
717 return this->m_ActiveInstances.Size(); in GetActiveSize()
725 ParticleHandle* node = this->Allocate(); in AddPool()
726 this->m_FreeInstances.push_back(node); in AddPool()
733 while (this->m_FreeInstances.Size() > 0) in FreePool()
735 ParticleHandle* node = this->m_FreeInstances.Back(); in FreePool()
736 this->m_FreeInstances.PopBack(); in FreePool()