TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ ModifyFarFades()

void Terraria.ModLoader.ModSurfaceBackgroundStyle.ModifyFarFades ( float[] fades,
float transitionSpeed )
abstract

Allows you to modify the transparency of all background styles that exist. In general, you should move the index equal to this style's slot closer to 1, and all other indexes closer to 0. The transitionSpeed parameter is what you should add/subtract to each element of the fades parameter. See the ExampleMod for an example.