Share via


LampArrayEffectPlaylist.GetAt(UInt32) 方法

定义

检索播放列表中指定索引处的灯阵列效果。

public:
 virtual ILampArrayEffect ^ GetAt(unsigned int index) = IVectorView<ILampArrayEffect ^>::GetAt;
ILampArrayEffect GetAt(uint32_t const& index);
public ILampArrayEffect GetAt(uint index);
function getAt(index)
Public Function GetAt (index As UInteger) As ILampArrayEffect

参数

index
UInt32

unsigned int

uint32_t

要检索的灯阵列效果的从零开始的索引。

返回

表示播放列表中指定索引处的灯阵列效果的 ILampArrayEffect

实现

M:Windows.Foundation.Collections.IVectorView`1.GetAt(System.UInt32) M:Windows.Foundation.Collections.IVectorView`1.GetAt(unsigned int) M:Windows.Foundation.Collections.IVectorView`1.GetAt(uint32_t)

示例

LampArray 示例

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

AutoRGB 示例

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

适用于

另请参阅