Navigation
API > API/Runtime > API/Runtime/Engine
Struct that allows for different ways to reference a component using TSoftObjectPtr. If just an Actor is specified, will return RootComponent of that Actor.
| Name | FSoftComponentReference |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/EngineTypes.h |
| Include Path | #include "Engine/EngineTypes.h" |
Syntax
USTRUCT (BlueprintType )
struct FSoftComponentReference : public FBaseComponentReference
Inheritance Hierarchy
- FBaseComponentReference → FSoftComponentReference
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FSoftComponentReference() |
Engine/EngineTypes.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| OtherActor | TSoftObjectPtr< AActor > | Soft Pointer to a different Actor that owns the Component. | Engine/EngineTypes.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UActorComponent * GetComponent
(
AActor* OwningActor |
Get the actual component pointer from this reference | Engine/EngineTypes.h | |
bool SerializeFromMismatchedTag
(
const FPropertyTag& Tag, |
Engine/EngineTypes.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator==
(
const FSoftComponentReference& Other |
FSoftComponentReference == operator | Engine/EngineTypes.h |