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