![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <EngineTypes.h>
Inheritance diagram for FSoftComponentReference:Public Member Functions | |
| FSoftComponentReference () | |
| ENGINE_API class UActorComponent * | GetComponent (AActor *OwningActor) const |
| bool | operator== (const FSoftComponentReference &Other) const |
| ENGINE_API bool | SerializeFromMismatchedTag (const FPropertyTag &Tag, FStructuredArchive::FSlot Slot) |
Public Member Functions inherited from FBaseComponentReference | |
| FBaseComponentReference () | |
| ENGINE_API class UActorComponent * | ExtractComponent (AActor *SearchActor) const |
| bool | operator== (const FBaseComponentReference &Other) const |
Public Attributes | |
| TSoftObjectPtr< AActor > | OtherActor |
Public Attributes inherited from FBaseComponentReference | |
| FName | ComponentProperty |
| FString | PathToComponent |
| TWeakObjectPtr< class UActorComponent > | OverrideComponent |
Struct that allows for different ways to reference a component using TSoftObjectPtr. If just an Actor is specified, will return RootComponent of that Actor.
|
inline |
| UActorComponent * FSoftComponentReference::GetComponent | ( | AActor * | OwningActor | ) | const |
Get the actual component pointer from this reference
|
inline |
FSoftComponentReference == operator
| bool FSoftComponentReference::SerializeFromMismatchedTag | ( | const FPropertyTag & | Tag, |
| FStructuredArchive::FSlot | Slot | ||
| ) |
| TSoftObjectPtr<AActor> FSoftComponentReference::OtherActor |
Soft Pointer to a different Actor that owns the Component.
If this is not provided the reference refers to a component on this / the same actor.