LampArrayEffectPlaylist.EffectStartMode 属性

定义

获取或设置效果的起始行为。

public:
 property LampArrayEffectStartMode EffectStartMode { LampArrayEffectStartMode get(); void set(LampArrayEffectStartMode value); };
LampArrayEffectStartMode EffectStartMode();

void EffectStartMode(LampArrayEffectStartMode value);
public LampArrayEffectStartMode EffectStartMode { get; set; }
var lampArrayEffectStartMode = lampArrayEffectPlaylist.effectStartMode;
lampArrayEffectPlaylist.effectStartMode = lampArrayEffectStartMode;
Public Property EffectStartMode As LampArrayEffectStartMode

属性值

一个灯阵列效果启动模式,用于指定效果的起始行为。 默认值为 “顺序”。

示例

LampArray 示例

演示如何使用 Windows.Devices.Lights 和 Windows.Devices.Lights.Effects API 控制外围设备的 RGB 照明。

AutoRGB 示例

演示如何从桌面屏幕中提取具有代表性的单一颜色,并使用它来照亮连接的 RGB 设备上的 LED 灯。

注解

播放列表启动后,该值将锁定,并且无法再设置该值。

适用于

另请参阅