Class BitwizardWS2812USBDevice
Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.
Inheritance
BitwizardWS2812USBDevice
Implements
Inherited Members
Namespace: RGB.NET.Devices.WS281X.Bitwizard
Assembly: RGB.NET.Devices.WS281X.dll
Syntax
public sealed class BitwizardWS2812USBDevice : AbstractRGBDevice<BitwizardWS2812USBDeviceInfo>, IRGBDevice<BitwizardWS2812USBDeviceInfo>, ILedStripe, IRGBDevice, IEnumerable<Led>, IEnumerable, IPlaceable, IBindable, INotifyPropertyChanged, IDisposable
Constructors
| Edit this page View SourceBitwizardWS2812USBDevice(BitwizardWS2812USBDeviceInfo, BitwizardWS2812USBUpdateQueue, int, int)
Initializes a new instance of the BitwizardWS2812USBDevice class.
Declaration
public BitwizardWS2812USBDevice(BitwizardWS2812USBDeviceInfo deviceInfo, BitwizardWS2812USBUpdateQueue updateQueue, int ledOffset, int ledCount)
Parameters
Type | Name | Description |
---|---|---|
BitwizardWS2812USBDeviceInfo | deviceInfo | The device info of this device. |
BitwizardWS2812USBUpdateQueue | updateQueue | The update queue performing updates for this device. |
int | ledOffset | The offset used to access the leds on this device. |
int | ledCount | The amount of leds on this device. |
Methods
| Edit this page View SourceGetLedCustomData(LedId)
Gets the custom data associated with the specified LED.
Declaration
protected override object GetLedCustomData(LedId ledId)
Parameters
Type | Name | Description |
---|---|---|
LedId | ledId | The id of the led. |
Returns
Type | Description |
---|---|
object | The custom data for the specified LED. |
Overrides
RGB.NET.Core.AbstractRGBDevice<RGB.NET.Devices.WS281X.Bitwizard.BitwizardWS2812USBDeviceInfo>.GetLedCustomData(RGB.NET.Core.LedId)