Searched refs:emitRate_ (Results 1 – 5 of 5) sorted by relevance
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/animation/ |
H A D | rs_render_particle_animation.cpp | 95 if (emitterUpdater->emitRate_.has_value() && in UpdateEmitter() 96 … emitterUpdater->emitRate_.value() != particlesRenderParams_[index]->emitterConfig_.emitRate_) { in UpdateEmitter() 97 … particlesRenderParams_[index]->emitterConfig_.emitRate_ = emitterUpdater->emitRate_.value(); in UpdateEmitter()
|
H A D | rs_render_particle.cpp | 32 return emitterConfig_.emitRate_; in GetEmitRate() 788 if (emitRate_) { in Dump() 789 out += " emitRate:" + std::to_string(emitRate_.value()); in Dump()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/animation/ |
H A D | rs_render_particle.h | 92 int emitRate_ { 0 }; 104 …: emitRate_(), emitShape_(ShapeType::RECT), position_(), emitSize_(), particleCount_(), lifeTime_(… in EmitterConfig() 110 : emitRate_(emitRate), emitShape_(emitShape), position_(position), emitSize_(emitSize), in EmitterConfig() 131 std::optional<int> emitRate_; variable 138 : emitterIndex_(emitterIndex), position_(position), emitSize_(emitSize), emitRate_(emitRate)
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/test/unittest/animation/ |
H A D | rs_render_particle_animation_test.cpp | 176 EXPECT_TRUE(particleParams->emitterConfig_.emitRate_ == emitRate); 251 EXPECT_TRUE(particleParams->emitterConfig_.emitRate_ != emitRate); 284 EXPECT_TRUE(particleParams->emitterConfig_.emitRate_ == emitRate);
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/ohos/ |
H A D | rs_marshalling_helper.cpp | 833 success = success && Marshalling(parcel, val->emitRate_); in Marshalling() 973 bool success = Marshalling(parcel, val.emitRate_); in Marshalling()
|