Navigation
API > API/Plugins > API/Plugins/PCG
Interface returned by a IPCGGraphExecutionSource that is queried / updated during execution of a PCG Graph.
| Name | IPCGGraphExecutionState |
| Type | class |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/PCGGraphExecutionStateInterface.h |
| Include Path | #include "PCGGraphExecutionStateInterface.h" |
Syntax
class IPCGGraphExecutionState
Derived Classes
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~IPCGGraphExecutionState() |
PCGGraphExecutionStateInterface.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AddToManagedResources
(
UPCGManagedResource* InResource |
PCGGraphExecutionStateInterface.h | ||
void Cancel() |
Cancel execution of this ExecutionState. | PCGGraphExecutionStateInterface.h | |
virtual void ExecutePreGraph
(
FPCGContext* InContext |
Cache any data that is not thread safe or that needs to be computed only once for the whole execution | PCGGraphExecutionStateInterface.h | |
virtual FPCGTaskId GenerateLocalGetTaskId
(
EPCGHiGenGrid Grid |
Requests the execution source to generate only on the specified grid level (all grid levels if EPCGHiGenGrid::Uninitialized). | PCGGraphExecutionStateInterface.h | |
FBox GetBounds() |
Returns the ExecutionState bounds if the ExecutionState is a spatial one. | PCGGraphExecutionStateInterface.h | |
FString GetDebugName() |
Returns a Debug name that can be used for logging. | PCGGraphExecutionStateInterface.h | |
virtual FPCGDynamicTrackingPriority GetDynamicTrackingPriority() |
Get an execution priority | PCGGraphExecutionStateInterface.h | |
| PCGGraphExecutionStateInterface.h | |||
const PCGUtils::FExtraCapture & GetExtraCapture () |
Returns the FExtraCapture object for this ExecutionState | PCGGraphExecutionStateInterface.h | |
virtual uint32 GetGenerationGridSize() |
Get the size for the HiGen grid this execution source executes on. | PCGGraphExecutionStateInterface.h | |
virtual FPCGTaskId GetGenerationTaskId() |
Gets the task ID for the current generation task if it exists. | PCGGraphExecutionStateInterface.h | |
UPCGGraph * GetGraph() |
Returns the UPCGGraph this ExecutionState is executing. | PCGGraphExecutionStateInterface.h | |
UPCGGraphInstance * GetGraphInstance() |
Returns the UPCGGrahInstance this ExecutionState is executing. | PCGGraphExecutionStateInterface.h | |
virtual FPCGGridDescriptor GetGridDescriptor
(
uint32 InGridSize |
Returns a GridDescriptor based on this execution source for the specified grid size. | PCGGraphExecutionStateInterface.h | |
| PCGGraphExecutionStateInterface.h | |||
const FPCGGraphExecutionInspection & GetInspection () |
Returns the FPCGGraphExecutionInspection object for this ExecutionState | PCGGraphExecutionStateInterface.h | |
virtual IPCGGraphExecutionSource * GetLocalSource
(
const FPCGGridDescriptor& GridDescriptor, |
Retrieves a local execution source using grid descriptor and grid coordinates, returns nullptr if no such execution source is found. | PCGGraphExecutionStateInterface.h | |
virtual FBox GetLocalSpaceBounds() |
Returns the ExecutionState's local bounds if this ExecutionState is a spatial one. | PCGGraphExecutionStateInterface.h | |
virtual FBox GetOriginalBounds() |
Returns the ExecutionState's original source bounds if this ExecutionState is a local source. | PCGGraphExecutionStateInterface.h | |
virtual FBox GetOriginalLocalSpaceBounds() |
Returns the ExecutionState's original source local space bounds if this ExecutionState is a local source. | PCGGraphExecutionStateInterface.h | |
IPCGGraphExecutionSource * GetOriginalSource() |
If this is a local execution source returns the original execution source, otherwise returns self. | PCGGraphExecutionStateInterface.h | |
virtual FTransform GetOriginalTransform() |
Returns a the original source Transform if the ExecutionState is a local source. | PCGGraphExecutionStateInterface.h | |
int32 GetSeed() |
Returns a Seed for graph execution. | PCGGraphExecutionStateInterface.h | |
UPCGData * GetSelfData() |
Returns a UPCGData representation of the ExecutionState. | PCGGraphExecutionStateInterface.h | |
virtual IPCGBaseSubsystem * GetSubsystem () |
Returns the subsystem associated with this source. | PCGGraphExecutionStateInterface.h | |
FTransform GetTransform() |
Returns a Transform if the ExecutionState is a spatial one. | PCGGraphExecutionStateInterface.h | |
UWorld * GetWorld() |
Returns a World, can be null | PCGGraphExecutionStateInterface.h | |
bool HasAuthority() |
Returns true if the ExecutionState has network authority | PCGGraphExecutionStateInterface.h | |
bool IsGenerating() |
Indicates if the current source is generating. | PCGGraphExecutionStateInterface.h | |
virtual bool IsLocalSource() |
Returns true if this execution source is a local source of a partitioned execution source. | PCGGraphExecutionStateInterface.h | |
virtual bool IsManagedByRuntimeGenSystem () |
@todo_pcg: The execution source should probably just have an execution domain instead of directly querying runtime gen vs etc. | PCGGraphExecutionStateInterface.h | |
virtual bool IsPartitioned() |
Returns true if this execution source uses partitioned generation. | PCGGraphExecutionStateInterface.h | |
bool IsRefreshInProgress() |
Indicates if the current source is waiting for a refresh | PCGGraphExecutionStateInterface.h | |
void OnGraphExecutionAborted
(
bool bQuiet, |
Notify ExecutionState that its execution is being aborted. | PCGGraphExecutionStateInterface.h | |
void RegisterDynamicTracking
(
const FPCGSelectionKeyToSettingsMap& InKeysToSettings |
Register multiple tracking dependencies, so ExecutionState can be updated when they change | PCGGraphExecutionStateInterface.h | |
void RegisterDynamicTracking
(
const UPCGSettings* InSettings, |
Register tracking dependencies, so ExecutionState can be updated when they change | PCGGraphExecutionStateInterface.h | |
virtual const FPCGDataCollection * RetrieveOutputDataForPin
(
const FString& InResourceKey |
Lookup data using a resource key that identifies the pin. | PCGGraphExecutionStateInterface.h | |
virtual void StoreOutputDataForPin
(
const FString& InResourceKey, |
Store data with a resource key that identifies the pin. | PCGGraphExecutionStateInterface.h | |
virtual bool Use2DGrid() |
Returns true if execution source should output on a 2D grid. | PCGGraphExecutionStateInterface.h |