getLayer

Gets a layer by its index. It retrieves it from the current selected layers whether it's the main layers or the temp layers.

getLayer
(
size_t index
)

Parameters

index size_t

The index of the layer to get.

Return Value

Type: Layer

The layer within the current selected layers.

Meta