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

◆ ProcessLedColor()

Color ReLogic.Peripherals.RGB.RgbDevice.ProcessLedColor ( Color color)
inlineprotectedinherited

Definition at line 53 of file RgbDevice.cs.

54 {
55 //IL_0002: Unknown result type (might be due to invalid IL or missing references)
56 //IL_0007: Unknown result type (might be due to invalid IL or missing references)
57 //IL_0015: Unknown result type (might be due to invalid IL or missing references)
58 //IL_0016: Unknown result type (might be due to invalid IL or missing references)
59 Vector3 color2 = ((Color)(ref color)).ToVector3();
60 _colorProfile.Apply(ref color2);
61 return new Color(color2);
62 }
readonly DeviceColorProfile _colorProfile
Definition RgbDevice.cs:16

References ReLogic.Peripherals.RGB.RgbDevice._colorProfile, and ReLogic.Peripherals.RGB.DeviceColorProfile.Apply().

Referenced by ReLogic.Peripherals.RGB.Logitech.LogitechKeyboard.Render(), ReLogic.Peripherals.RGB.Razer.RazerKeyboard.Render(), and ReLogic.Peripherals.RGB.SteelSeries.SteelSeriesKeyboard.Render().