MCPcopy Create free account
hub / github.com/20tab/UnrealEnginePython / GetFlashColor

Method GetFlashColor

Source/PythonConsole/Private/SPythonConsole.cpp:126–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124}
125
126FSlateColor SPythonConsole::GetFlashColor() const
127{
128 float FlashAlpha = 1.0f - FlashCurve.GetLerp();
129
130 if (FlashAlpha == 1.0f)
131 {
132 FlashAlpha = 0.0f;
133 }
134
135 return FLinearColor(1,1,1,FlashAlpha);
136}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected