Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
RazerMouse.cs
Go to the documentation of this file.
2
4
5internal class RazerMouse : RgbDevice
6{
8
9 private readonly EffectHandle _handle = new EffectHandle();
10
11 public RazerMouse(DeviceColorProfile colorProfile)
12 : base(RgbDeviceVendor.Razer, RgbDeviceType.Mouse, Fragment.FromGrid(new Rectangle(27, 0, 7, 9)), colorProfile)
13 {
14 }//IL_001f: Unknown result type (might be due to invalid IL or missing references)
15
16
17 public override void Present()
18 {
19 //IL_0012: Unknown result type (might be due to invalid IL or missing references)
20 for (int i = 0; i < base.LedCount; i++)
21 {
23 }
25 _handle.Apply();
26 }
27}
void SetAsMouseEffect(ref NativeMethods.CustomMouseEffect effect)
static uint Vector4ToDeviceColor(Vector4 color)
Definition RazerHelper.cs:7
RazerMouse(DeviceColorProfile colorProfile)
Definition RazerMouse.cs:11
NativeMethods.CustomMouseEffect _effect
Definition RazerMouse.cs:7
Vector4 GetProcessedLedColor(int index)
Definition RgbDevice.cs:37