Share via


LampArraySolidEffect(LampArray, Int32[]) Constructor

Definition

Creates and initializes a new instance of the effect.

public:
 LampArraySolidEffect(LampArray ^ lampArray, Platform::Array <int> ^ lampIndexes);
 LampArraySolidEffect(LampArray const& lampArray, winrt::array_view <int> const& lampIndexes);
public LampArraySolidEffect(LampArray lampArray, int[] lampIndexes);
function LampArraySolidEffect(lampArray, lampIndexes)
Public Sub New (lampArray As LampArray, lampIndexes As Integer())

Parameters

lampArray
LampArray

The LampArray the effect is played on.

lampIndexes

Int32[]

int[]

Subset of lamp indexes that effect will apply to.

Examples

LampArray sample

Demonstrates how to control RGB lighting of peripheral devices using the Windows.Devices.Lights and Windows.Devices.Lights.Effects APIs.

AutoRGB Sample

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.

Applies to

See also