Home
last modified time | relevance | path

Searched refs:emitSize_ (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/animation/
H A Drs_render_particle_animation.cpp91 if (emitterUpdater->emitSize_.has_value() && in UpdateEmitter()
92 … emitterUpdater->emitSize_.value() != particlesRenderParams_[index]->emitterConfig_.emitSize_) { in UpdateEmitter()
93 … particlesRenderParams_[index]->emitterConfig_.emitSize_ = emitterUpdater->emitSize_.value(); in UpdateEmitter()
H A Drs_render_particle.cpp47 return emitterConfig_.emitSize_; in GetEmitSize()
784 if (emitSize_) { in Dump()
785 out += " emitSize[" + std::to_string(emitSize_->x_) + " "; in Dump()
786 out += std::to_string(emitSize_->y_) + "]"; in Dump()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/animation/
H A Drs_render_particle.h95 Vector2f emitSize_; variable
104 …: emitRate_(), emitShape_(ShapeType::RECT), position_(), emitSize_(), particleCount_(), lifeTime_(… in EmitterConfig()
110 : emitRate_(emitRate), emitShape_(emitShape), position_(position), emitSize_(emitSize), in EmitterConfig()
130 std::optional<Vector2f> emitSize_; 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 Drs_render_particle_animation_test.cpp175 EXPECT_TRUE(particleParams->emitterConfig_.emitSize_ == emitSize);
250 EXPECT_TRUE(particleParams->emitterConfig_.emitSize_ != emitSize);
283 EXPECT_TRUE(particleParams->emitterConfig_.emitSize_ == emitSize);
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/animation/
H A Drs_render_particle_test.cpp821 Vector2f emitSize_; in HWTEST_F() local
825 rsRenderParticle.CalculateParticlePosition(emitShape_, position_, emitSize_); in HWTEST_F()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/ohos/
H A Drs_marshalling_helper.cpp832 success = success && Marshalling(parcel, val->emitSize_) ; in Marshalling()
977 success = success && Marshalling(parcel, val.emitSize_.x_); in Marshalling()
978 success = success && Marshalling(parcel, val.emitSize_.y_); in Marshalling()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/ui/
H A Drs_node.cpp1140 auto emitSize = particleParams[i].emitterConfig_.emitSize_; in SetParticleDrawRegion()