Compartilhar via


LampArrayEffectPlaylist.GetAt(UInt32) Método

Definição

Recupera o efeito da matriz de lâmpadas no índice especificado em uma playlist.

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

Parâmetros

index
UInt32

unsigned int

uint32_t

O índice baseado em zero do efeito da matriz de lâmpadas a ser recuperado.

Retornos

Um ILampArrayEffect que representa o efeito da matriz de lâmpadas no índice especificado na playlist.

Implementações

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)

Exemplos

Exemplo de LampArray

Demonstra como controlar a iluminação RGB de dispositivos periféricos usando as APIs Windows.Devices.Lights e Windows.Devices.Lights.Effects .

Exemplo do AutoRGB

Demonstra como extrair uma única cor representativa de uma tela de desktop e usá-la para iluminar lâmpadas LED em um dispositivo RGB conectado.

Aplica-se a

Confira também