Navigation
API > API/Plugins > API/Plugins/PCG
Simplified, time-sliced, and point by point operation class. A function or lambda may be passed into the `ExecutePointOperation_ at execution time to invoke a customized update operation on all incoming points, individually.
| Name | FPCGPointOperationElementBase |
| Type | class |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Elements/PCGPointOperationElementBase.h |
| Include Path | #include "Elements/PCGPointOperationElementBase.h" |
Syntax
class FPCGPointOperationElementBase : public TPCGTimeSlicedElementBase< PCGTimeSlice::FEmptyStruct, PCGPointOperation::IterationState >
Implements Interfaces
Derived Classes
FPCGPointOperationElementBase derived class hierarchy
Functions
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool ExecutePointOperation
(
ContextType* Context, |
Executes the PointFunction function/lambda for every point copied from PreparePointOperationData | Elements/PCGPointOperationElementBase.h | |
virtual EPCGPointNativeProperties GetPropertiesToAllocate
(
FPCGContext* InContext |
Elements/PCGPointOperationElementBase.h | ||
bool PreparePointOperationData
(
ContextType* Context, |
Mandatory call. Using the context, prepares the state data for time slice execution | Elements/PCGPointOperationElementBase.h | |
virtual bool ShouldCopyPoints () |
If True, input points will be copied into output points before each point operation. | Elements/PCGPointOperationElementBase.h |
Overridden from IPCGElement
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual EPCGElementExecutionLoopMode ExecutionLoopMode
(
const UPCGSettings* Settings |
Describes internal execution behavior, which is used to break down inputs/outputs for caching purposes. | Elements/PCGPointOperationElementBase.h | |
virtual bool PrepareDataInternal
(
FPCGContext* Context |
Conveniently calls PreparePointOperationData to prepare the time sliced element for execution. | Elements/PCGPointOperationElementBase.h |