Navigation
API > API/Plugins > API/Plugins/PCG
Registry to hold actor & component to PCG data construction mapping
| Name | FPCGGetDataFunctionRegistry |
| Type | struct |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Data/Registry/PCGGetDataFunctionRegistry.h |
| Include Path | #include "Data/Registry/PCGGetDataFunctionRegistry.h" |
Syntax
struct FPCGGetDataFunctionRegistry
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Data/Registry/PCGGetDataFunctionRegistry.h | |||
| Data/Registry/PCGGetDataFunctionRegistry.h | |||
| Data/Registry/PCGGetDataFunctionRegistry.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FPCGGetDataFunctionRegistry() |
Data/Registry/PCGGetDataFunctionRegistry.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FDataFromActorFunction | TFunction< bool(FPCGContext *, const FPCGGetDataFunctionRegistryParams &, AActor *, FPCGGetDataFunctionRegistryOutput &)> | Data/Registry/PCGGetDataFunctionRegistry.h | |
| FDataFromComponentFunction | TFunction< bool(FPCGContext *, const FPCGGetDataFunctionRegistryParams &, UActorComponent *, FPCGGetDataFunctionRegistryOutput &)> | Data/Registry/PCGGetDataFunctionRegistry.h | |
| FFunctionHandle | uint64 | Data/Registry/PCGGetDataFunctionRegistry.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ActorParsingFunctions | TArray< TPair< FDataFromActorFunction, FFunctionHandle > > | Data/Registry/PCGGetDataFunctionRegistry.h | ||
| ComponentParsingFunctions | TArray< TPair< FDataFromComponentFunction, FFunctionHandle > > | Data/Registry/PCGGetDataFunctionRegistry.h | ||
| NextFunctionHandle | FFunctionHandle | Data/Registry/PCGGetDataFunctionRegistry.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
int GetDataFromActor
(
FPCGContext* InContext, |
Appends actor data to the given collection and returns the number of data added. | Data/Registry/PCGGetDataFunctionRegistry.h | |
int GetDataFromComponent
(
FPCGContext* InContext, |
Append component data to the given collection, returns the number of data added. | Data/Registry/PCGGetDataFunctionRegistry.h | |
FFunctionHandle RegisterDataFromActorFunction
(
const FDataFromActorFunction& InFunction |
Register an actor to PCG data function. | Data/Registry/PCGGetDataFunctionRegistry.h | |
FFunctionHandle RegisterDataFromComponentFunction
(
const FDataFromComponentFunction& InFunction |
Register a component to PCG data function. | Data/Registry/PCGGetDataFunctionRegistry.h | |
void UnregisterDataFromActorFunction
(
FFunctionHandle InFunctionHandle |
Unregisters an actor to PCG data function. | Data/Registry/PCGGetDataFunctionRegistry.h | |
void UnregisterDataFromComponentFunction
(
FFunctionHandle InFunctionHandle |
Unregisters a component to PCG data function. | Data/Registry/PCGGetDataFunctionRegistry.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Data/Registry/PCGGetDataFunctionRegistry.h | |||
| Data/Registry/PCGGetDataFunctionRegistry.h |