Share via


LampArrayColorRampEffect.ZIndex Property

Definition

The global precedence for two effects that modify the same lamp.

public:
 property int ZIndex { int get(); void set(int value); };
int ZIndex();

void ZIndex(int value);
public int ZIndex { get; set; }
var int32 = lampArrayColorRampEffect.zIndex;
lampArrayColorRampEffect.zIndex = int32;
Public Property ZIndex As Integer

Property Value

Int32

int

Default value is 0.

Implements

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

Higher zIndex implies higher precedence.

If two effects with the same zIndex operate on the same lamp (via two separate LampArrayEffectPlaylists), the behavior is undefined.

Applies to

See also