LampArrayColorRampEffect(LampArray, Int32[]) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates and initializes a new instance of the effect.
public:
LampArrayColorRampEffect(LampArray ^ lampArray, Platform::Array <int> ^ lampIndexes);
LampArrayColorRampEffect(LampArray const& lampArray, winrt::array_view <int> const& lampIndexes);
public LampArrayColorRampEffect(LampArray lampArray, int[] lampIndexes);
function LampArrayColorRampEffect(lampArray, lampIndexes)
Public Sub New (lampArray As LampArray, lampIndexes As Integer())
Parameters
- lampIndexes
-
Int32[]
int[]
Subset of lamp indexes that effect will apply to.
Examples
Demonstrates how to control RGB lighting of peripheral devices using the Windows.Devices.Lights and Windows.Devices.Lights.Effects APIs.
Demonstrates how to extract a single, representative color from a desktop screen and use it to illuminate LED lamps on a connected RGB device.
Remarks
Effect creation does not start the effect.