Share via


LampArrayEffectPlaylist.OverrideZIndex(Int32) Method

Definition

Overrides the zIndex for all contained effects.

public:
 virtual void OverrideZIndex(int zIndex) = OverrideZIndex;
void OverrideZIndex(int const& zIndex);
public void OverrideZIndex(int zIndex);
function overrideZIndex(zIndex)
Public Sub OverrideZIndex (zIndex As Integer)

Parameters

zIndex
Int32

int

The overriding zIndex.

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

Effects added after OverrideZIndex is called will still be overridden.

After the playlist has started, all zIndexes are locked and it's not possible to override further.

Applies to

See also