Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Engine/EngineTypes.h |
Include |
#include "Engine/EngineTypes.h" |
struct FComponentReference
Struct that allows for different ways to reference a component. If just an Actor is specified, will return RootComponent of that Actor.
Name | Description | ||
---|---|---|---|
|
ComponentProperty |
Name of component to use. If this is not specified the reference refers to the root component. |
|
|
TObjectPtr< AAc... |
OtherActor |
Pointer to a different Actor that owns the Component. |
|
TWeakObjectPtr<... |
OverrideComponent |
Allows direct setting of first component to constraint. |
|
PathToComponent |
Path to the component from its owner actor |
Name | Description | |
---|---|---|
|
FComponentReference() |
Name | Description | ||
---|---|---|---|
|
UActorCompon... |
GetComponent ( |
Get the actual component pointer from this reference |
Name | Description | ||
---|---|---|---|
|
operator== ( |