AActor::GetComponents

Syntax

const TSet < UActorComponent * > & GetComponents() const

Remarks

Get a direct reference to the Components set rather than a copy with the null pointers removed. WARNING: anything that could cause the component to change ownership or be destroyed will invalidate this array, so use caution when iterating this set!

References

Module

Engine

Header

Runtime/Engine/Classes/GameFramework/Actor.h