Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/Elements
Inheritance Hierarchy
- IPCGElement
- IPCGElementWithCustomContext
- FPCGDataFromActorElement
- FPCGGetLandscapeDataElement
- FPCGGetWaterSplineElement
References
| Module | PCG |
| Header | /Engine/Plugins/PCG/Source/PCG/Public/Elements/PCGDataFromActor.h |
| Include | #include "Elements/PCGDataFromActor.h" |
Syntax
class FPCGDataFromActorElement : public IPCGElementWithCustomContext< FPCGDataFromActorContext >
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | CreateReferenceData
(
FPCGContext* Context, |
||
| void | GatherWaitTasks
(
AActor* FoundActor, |
||
| void | MergeActorsIntoData
(
FPCGContext* Context, |
||
| void | ProcessActor
(
FPCGContext* Context, |
||
| void | ProcessActors
(
FPCGContext* Context, |
Overridden from IPCGElement
| Type | Name | Description | |
|---|---|---|---|
| bool | CanExecuteOnlyOnMainThread
(
FPCGContext* Context |
Returns true if the element, in its current phase can be executed only from the main thread | |
| bool | ExecuteInternal
(
FPCGContext* Context |
Core execution method for the given element. Will be called until it returns true. | |
| void | GetDependenciesCrc
(
const FPCGDataCollection& InInput, |
Calculate a Crc that provides a receipt for the input data that can be paired with output data from the cache. | |
| bool | PrepareDataInternal
(
FPCGContext* Context |
The prepare data phase is one where it is more likely to be able to multithread | |
| bool | ShouldComputeFullOutputDataCrc
(
FPCGContext* Context |
Whether to do a 'deep' fine-grained CRC of the output data to pass to downstream nodes. |