MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / BlendWith

Method BlendWith

Source/Engine/Graphics/PostProcessSettings.cpp:15–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13#define BLEND_PROPERTY(name) BLEND_BOOL(name)
14
15void AmbientOcclusionSettings::BlendWith(AmbientOcclusionSettings& other, float weight)
16{
17 const bool isHalf = weight >= 0.5f;
18
19 BLEND_BOOL(Enabled);
20 BLEND_FLOAT(Intensity);
21 BLEND_FLOAT(Power);
22 BLEND_FLOAT(Radius);
23 BLEND_FLOAT(FadeOutDistance);
24 BLEND_FLOAT(FadeDistance);
25 BLEND_ENUM(DepthResolution);
26}
27
28void GlobalIlluminationSettings::BlendWith(GlobalIlluminationSettings& other, float weight)
29{

Callers 3

ApplyMethod · 0.80
BlendMethod · 0.80
BlendMethod · 0.80

Calls 5

GetIDMethod · 0.80
GetMethod · 0.45
CountMethod · 0.45
ContainsMethod · 0.45
AddMethod · 0.45

Tested by

no test coverage detected