LampArraySolidEffect LampArraySolidEffect LampArraySolidEffect LampArraySolidEffect LampArraySolidEffect Class

Definition

Displays a solid/static color for a specific duration.

public : sealed class LampArraySolidEffect : ILampArrayEffect
struct winrt::Windows::Devices::Lights::Effects::LampArraySolidEffect : ILampArrayEffect
public sealed class LampArraySolidEffect : ILampArrayEffect
Public NotInheritable Class LampArraySolidEffect Implements ILampArrayEffect
var lampArraySolidEffect = new lampArraySolidEffect(lampArray, lampIndexes);
Attributes

Windows 10 requirements

Device family
Windows 10, version 1809 (introduced v10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v7)

Remarks

Before you can play an effect, you must append it to a LampArrayEffectPlaylist (see Append ).

All lamps within the effect behave identically, subject to constraints of the lamp indexes (for example, color channels). Best effort will always be done to accommodate lamp index constraints.

If a LampArray is bound to a LampArraySolidEffect and it disconnects, progress of the effect continues as a no-op. No exception/error is thrown/returned.

Constructors

LampArraySolidEffect(LampArray, Int32[]) LampArraySolidEffect(LampArray, Int32[]) LampArraySolidEffect(LampArray, Int32[]) LampArraySolidEffect(LampArray, Int32[]) LampArraySolidEffect(LampArray, Int32[])

Creates and initializes a new instance of the effect.

Properties

Color Color Color Color Color

Gets or sets the solid color of the effect.

CompletionBehavior CompletionBehavior CompletionBehavior CompletionBehavior CompletionBehavior

Gets or sets the behavior when effect completes.

Duration Duration Duration Duration Duration

Gets or sets the duration of the effect; StartDelay is not included.

StartDelay StartDelay StartDelay StartDelay StartDelay

Gets or sets the duration to delay before starting the effect.

ZIndex ZIndex ZIndex ZIndex ZIndex

Gets or sets the global precedence (across all playlists) for two effects that modify the same lamp (on the same LampArray ).