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

◆ SetColor() [1/2]

void ReLogic.Peripherals.RGB.Fragment.SetColor ( int index,
float r,
float g,
float b,
float a = 1f )
inline

Definition at line 104 of file Fragment.cs.

105 {
106 //IL_000d: Unknown result type (might be due to invalid IL or missing references)
107 //IL_0012: Unknown result type (might be due to invalid IL or missing references)
108 Colors[index] = new Vector4(r, g, b, a);
109 }
readonly Vector4[] Colors
Definition Fragment.cs:8

References ReLogic.Peripherals.RGB.Fragment.Colors, and System.index.