UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FBaseComponentReference Struct Reference

#include <EngineTypes.h>

+ Inheritance diagram for FBaseComponentReference:

Public Member Functions

 FBaseComponentReference ()
 
ENGINE_API class UActorComponentExtractComponent (AActor *SearchActor) const
 
bool operator== (const FBaseComponentReference &Other) const
 

Public Attributes

FName ComponentProperty
 
FString PathToComponent
 
TWeakObjectPtr< class UActorComponentOverrideComponent
 

Detailed Description

Base class for the hard/soft component reference structs

Constructor & Destructor Documentation

◆ FBaseComponentReference()

FBaseComponentReference::FBaseComponentReference ( )
inline

Member Function Documentation

◆ ExtractComponent()

UActorComponent * FBaseComponentReference::ExtractComponent ( AActor SearchActor) const

Extract the actual component pointer from this reference given a search actor

◆ operator==()

bool FBaseComponentReference::operator== ( const FBaseComponentReference Other) const
inline

Member Data Documentation

◆ ComponentProperty

FName FBaseComponentReference::ComponentProperty

Name of component to use. If this is not specified the reference refers to the root component.

◆ OverrideComponent

TWeakObjectPtr<class UActorComponent> FBaseComponentReference::OverrideComponent

Allows direct setting of first component to constraint.

◆ PathToComponent

FString FBaseComponentReference::PathToComponent

Path to the component from its owner actor


The documentation for this struct was generated from the following files: