TInlineComponentArray

[TInlineComponentArray](API\Runtime\Engine\GameFramework\TInlineComponentArray) is simply a [TArray](API\Runtime\Core\Containers\TArray) that reserves a fixed amount of space on the stack to try to avoid heap allocation when there are fewer than a specified number of elements expected in the result.

Windows
MacOS
Linux

Inheritance Hierarchy

TArray

TInlineComponentArray

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/GameFramework/Actor.h

Include

#include "GameFramework/Actor.h"

Syntax

template<class T, uint32 NumElements>
class TInlineComponentArray : public TArray< T, TInlineAllocator< NumElements > >

Remarks

TInlineComponentArray is simply a TArray that reserves a fixed amount of space on the stack to try to avoid heap allocation when there are fewer than a specified number of elements expected in the result.

Constructors

Name Description

Public function

TInlineComponentArray()

Public function

TInlineComponentArray

(
    const AActor* Actor,
    bool bIncludeFromChildActors
)

Typedefs

Name

Description

Super

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback