Home
last modified time | relevance | path

Searched refs:featherWidth (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/animation/
H A Drs_particle_noise_field.cpp81 float ParticleNoiseField::CalculateFeatherEffect(float distanceToEdge, float featherWidth) in CalculateFeatherEffect() argument
84 if (featherWidth > 0.f && !ROSEN_EQ(featherWidth, 0.f) && distanceToEdge >= 0) { in CalculateFeatherEffect()
85 normalizedDistance = distanceToEdge / featherWidth; in CalculateFeatherEffect()
103 float featherWidth = fieldSize_.x_ * (fieldFeather_ / FEATHERMAX); in ApplyField() local
111 float featherEffect = CalculateFeatherEffect(edgeDistance, featherWidth); in ApplyField()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/animation/
H A Drs_particle_noise_field.h47 float CalculateFeatherEffect(float distanceToEdge, float featherWidth);