C# Class CorsairLinkPlusPlus.Driver.CorsairLink.Controller.LED.CustomCurve

Inheritance: TemperatureDependantControllerBase, ILEDController, ICurveColorController
显示文件 Open project: Doridian/CorsairLinkPlusPlus

Protected Properties

Property Type Description
curve Color>.ControlCurve

Public Methods

Method Description
AssignFrom ( Sensor led ) : void
CustomCurve ( ) : CorsairLinkPlusPlus.Common.Controller
CustomCurve ( Color>.ControlCurve colors ) : CorsairLinkPlusPlus.Common.Controller
GetLEDModernControllerID ( ) : byte

Protected Methods

Method Description
GetNumColors ( ) : int

Private Methods

Method Description
Apply ( Sensor sensor ) : void
CopyNumColorArray ( Color src, Color dst ) : Color[]

Method Details

AssignFrom() public method

public AssignFrom ( Sensor led ) : void
led Sensor
return void

CustomCurve() public method

public CustomCurve ( ) : CorsairLinkPlusPlus.Common.Controller
return CorsairLinkPlusPlus.Common.Controller

CustomCurve() public method

public CustomCurve ( Color>.ControlCurve colors ) : CorsairLinkPlusPlus.Common.Controller
colors Color>.ControlCurve
return CorsairLinkPlusPlus.Common.Controller

GetLEDModernControllerID() public method

public GetLEDModernControllerID ( ) : byte
return byte

GetNumColors() protected method

protected GetNumColors ( ) : int
return int

Property Details

curve protected_oe property

protected ControlCurve curve
return Color>.ControlCurve