Navigation API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Engine Inheritance Hierarchy FBaseComponentReference FComponentReference References Module Engine Header /Engine/Source/Runtime/Engine/Classes/Engine/EngineTypes.h Include #include "Engine/EngineTypes.h" Syntax struct FComponentReference : public FBaseComponentReference Copy full snippetstruct FComponentReference : public FBaseComponentReference Remarks Struct that allows for different ways to reference a component using TObjectPtr. If just an Actor is specified, will return RootComponent of that Actor. Variables Type Name Description TWeakObjectPtr< AActor > OtherActor Weak Pointer to a different Actor that owns the Component. Constructors Type Name Description FComponentReference () Functions Type Name Description UActorComponent * GetComponent ( AActor* OwningActor ) Get the actual component pointer from this reference Operators Type Name Description bool operator== ( const FComponentReference& Other ) FComponentReference == operator