TIndirectArray::Last

Returns n-th last element from the array.

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Containers/IndirectArray.h

Include

#include "Containers/IndirectArray.h"

Syntax

ElementType & Last
(
    int32 IndexFromTheEnd
)

Remarks

Returns n-th last element from the array.

Returns

Reference to n-th last element from the array.

Parameters

Parameter

Description

IndexFromTheEnd

(Optional) Index from the end of array (default = 0).