Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/GameFramework/Actor.h |
Include |
#include "GameFramework/Actor.h" |
Get all components derived from class 'T' and fill in the OutComponents array with the result. It's recommended to use TArrays with a TInlineAllocator to potentially avoid memory allocation costs. TInlineComponentArray is defined to make this easier, for example: { TInlineComponentArray
Parameter |
Description |
---|---|
bIncludeFromChildActors |
If true then recurse in to ChildActor components and find components of the appropriate type in those Actors as well |