Navigation
API > API/Plugins > API/Plugins/PCG
| Name | FPCGSubgraphElement |
| Type | class |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/PCGSubgraph.h |
| Include Path | #include "PCGSubgraph.h" |
Syntax
class FPCGSubgraphElement : public IPCGElement
Implements Interfaces
Derived Classes
Functions
Public
Overridden from IPCGElement
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FPCGContext * Initialize
(
const FPCGInitializeElementParams& InParams |
Creates a custom context object paired to this element | PCGSubgraph.h | |
virtual bool IsCacheable
(
const UPCGSettings* InSettings |
Returns true if the node can be cached (e.g. does not create artifacts & does not depend on untracked data | PCGSubgraph.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void PrepareSubgraphData
(
const UPCGSubgraphSettings* Settings, |
PCGSubgraph.h | ||
void PrepareSubgraphUserParameters
(
const UPCGSubgraphSettings* Settings, |
PCGSubgraph.h |
Overridden from IPCGElement
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool ExecuteInternal
(
FPCGContext* Context |
Core execution method for the given element. Will be called until it returns true. | PCGSubgraph.h | |
virtual bool IsPassthrough
(
const UPCGSettings* InSettings |
Used to specify that the element passes through the data without any manipulation - used to correct target pins, etc. | PCGSubgraph.h | |
virtual bool SupportsBasePointDataInputs
(
FPCGContext* InContext |
Returns true if node supports any point data format. | PCGSubgraph.h | |
virtual bool SupportsGPUResidentData
(
FPCGContext* InContext |
Returns true if node supports data objects that are only resident on GPU (not CPU). | PCGSubgraph.h |