Home
last modified time | relevance | path

Searched refs:lightIntensity (Results 1 - 11 of 11) sorted by relevance

/foundation/graphic/graphic_3d/lume/Lume_3D/src/util/
H A Dcomponent_util_functions.h28 * @param lightIntensity Used to calculate range if light range is not set.
30 inline float CalculateSafeLightRange(const float lightRange, const float lightIntensity) in CalculateSafeLightRange() argument
36 range = BASE_NS::Math::sqrt(BASE_NS::Math::pow(lightIntensity + minLightIntensityAdd, powValue)); in CalculateSafeLightRange()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/property/
H A Drs_properties_def.h213 void SetLightIntensity(float lightIntensity) in SetLightIntensity() argument
218 intensity_ = lightIntensity; in SetLightIntensity()
H A Drs_properties.h505 void SetLightIntensity(float lightIntensity);
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/drawable/
H A Drs_property_drawable_foreground.cpp552 auto lightIntensity = iter->first->GetLightIntensity();
561 lightIntensityArray[cnt] = lightIntensity;
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/ui/
H A Drs_node.h409 void SetLightIntensity(float lightIntensity);
H A Drs_node.cpp2384 void RSNode::SetLightIntensity(float lightIntensity) in SetLightIntensity() argument
2386 SetProperty<RSLightIntensityModifier, RSAnimatableProperty<float>>(RSModifierType::LIGHT_INTENSITY, lightIntensity); in SetLightIntensity()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/property/
H A Drs_properties.cpp3215 void RSProperties::SetLightIntensity(float lightIntensity) in SetLightIntensity() argument
3220 lightSourcePtr_->SetLightIntensity(lightIntensity); in SetLightIntensity()
3224 if (ROSEN_EQ(lightIntensity, INVALID_INTENSITY)) { // skip when resetFunc call in SetLightIntensity()
3230 bool curIntensityIsZero = ROSEN_EQ(lightIntensity, 0.f); in SetLightIntensity()
H A Drs_properties_painter.cpp1301 auto lightIntensity = iter->first->GetLightIntensity(); in DrawLightInner() local
1310 lightIntensityArray[cnt] = lightIntensity; in DrawLightInner()
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/
H A Drosen_render_context.h496 void OnLightIntensityUpdate(const float lightIntensity) override;
H A Drosen_render_context.cpp5109 void RosenRenderContext::OnLightIntensityUpdate(const float lightIntensity) argument
5112 rsNode_->SetLightIntensity(lightIntensity);
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/unittest/ui/
H A Drs_node_test.cpp6672 float lightIntensity = 1.f; // for test in HWTEST_F() local
6673 rsNode->SetLightIntensity(lightIntensity); in HWTEST_F()
6674 EXPECT_NE(lightIntensity, 0.f); in HWTEST_F()

Completed in 42 milliseconds