Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/Elements
Inheritance Hierarchy
- IPCGElement
- TPCGTimeSlicedElementBase
- FPCGSelfPruningElement
References
| Module | PCG |
| Header | /Engine/Plugins/PCG/Source/PCG/Public/Elements/PCGSelfPruning.h |
| Include | #include "Elements/PCGSelfPruning.h" |
Syntax
class FPCGSelfPruningElement : public TPCGTimeSlicedElementBase< PCGTimeSlice::FEmptyStruct, PCGSelfPruningElement::FIterationState >
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. | |
| EPCGElementExecutionLoopMode | ExecutionLoopMode
(
const UPCGSettings* Settings |
Describes internal execution behavior, which is used to break down inputs/outputs for caching purposes. | |
| bool | PrepareDataInternal
(
FPCGContext* Context |
The prepare data phase is one where it is more likely to be able to multithread |