Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/Elements
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UPCGBlueprintElement
References
| Module | PCG |
| Header | /Engine/Plugins/Experimental/PCG/Source/PCG/Public/Elements/PCGExecuteBlueprint.h |
| Include | #include "Elements/PCGExecuteBlueprint.h" |
Syntax
UCLASS&40;Abstract, BlueprintType, Blueprintable, HideCategories&61;&40;Object&41;&41;
class UPCGBlueprintElement : public UObject
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bCanBeMultithreaded | Controls whether this node execution can be run from a non-game thread. | |
| bool | bComputeFullDataCrc | In cases where your node is non-cacheable but is likely to yield the same results on subsequent executions, this controls whether we will do a deep & computationally intensive CRC computation (true), which will allow cache usage in downstream nodes in your graph, or, by default (false), a shallow but quick crc computation which will not be cache-friendly. | |
| bool | bEnablePreconfiguredSettings | ||
| bool | bExposeToLibrary | ||
| bool | bHasDefaultInPin | ||
| bool | bHasDefaultOutPin | ||
| bool | bIsCacheable | Controls whether results can be cached so we can bypass execution if the inputs & settings are the same in a subsequent execution. | |
| bool | bOnlyExposePreconfiguredSettings | ||
| FText | Category | ||
| FPCGContext * | CurrentContext | Since we duplicate the blueprint elements prior to execution, they will be unique and have a 1:1 match with their context, which allows us to store it here | |
| TArray< FPCGPinProperties > | CustomInputPins | ||
| TArray< FPCGPinProperties > | CustomOutputPins | ||
| TSet< TObjectPtr< UObject > > | DataDependencies | ||
| int32 | DependencyParsingDepth | ||
| FText | Description | ||
| FOnPCGBlueprintChanged | OnBlueprintChangedDelegate | ||
| TArray< FPCGPreConfiguredSettingsInfo > | PreconfiguredInfo |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | ApplyPreconfiguredSettings
(
const FPCGPreConfiguredSettingsInfo& InPreconfigureInfo |
||
| TSet< FName > | Returns the labels of custom input pins only. | ||
| TSet< FName > | Returns the labels of custom output pins only. | ||
| void | Execute
(
const FPCGDataCollection& Input, |
||
| void | ExecuteWithContext
(
FPCGContext& InContext, |
||
| FPCGContext & | GetContext () |
Retrieves the execution context - note that this will not be valid outside of the Execute functions | |
| bool | GetInputPinByLabel
(
FName InPinLabel, |
Returns true if there is an input pin with the matching label. | |
| TArray< FPCGPinProperties > | GetInputPins () |
||
| bool | GetOutputPinByLabel
(
FName InPinLabel, |
Returns true if there is an output pin with the matching label. | |
| TArray< FPCGPinProperties > | |||
| FString | Used for filtering | ||
| FRandomStream | GetRandomStream
(
FPCGContext& InContext |
Creates a random stream from the settings & source component | |
| int | GetSeed
(
FPCGContext& InContext |
Gets the seed from the associated settings & source component | |
| UWorld * | GetWorld () |
Needed to be able to call certain blueprint functions | |
| void | Initialize () |
Called after object creation to setup the object callbacks | |
| bool | Override for the IsCacheable node property when it depends on the settings in your node | ||
| void | IterationLoop
(
FPCGContext& InContext, |
Calls the IterationLoopBody a fixed number of times, optional parameters are used to potentially initialized the Out Data, but otherwise are used to remove the need to have variables | |
| bool | IterationLoopBody
(
const FPCGContext& InContext, |
||
| void | NestedLoop
(
FPCGContext& InContext, |
Calls the NestedLoopBody function on all nested loop pairs (e.g. (o, i) for all o in Outer, i in Inner) | |
| bool | NestedLoopBody
(
const FPCGContext& InContext, |
||
| FLinearColor | |||
| FName | Override for the default node name | ||
| EPCGSettingsType | |||
| void | OnDependencyChanged
(
UObject* Object, |
||
| void | PointLoop
(
FPCGContext& InContext, |
Calls the PointLoopBody function on all points | |
| bool | PointLoopBody
(
const FPCGContext& InContext, |
||
| void | SetCurrentContext
(
FPCGContext* InCurrentContext |
Called after the element duplication during execution to be able to get the context easily - internal call only | |
| void | VariableLoop
(
FPCGContext& InContext, |
Calls the VariableLoopBody function on all points, each call can return a variable number of points | |
| TArray< FPCGPoint > | VariableLoopBody
(
const FPCGContext& InContext, |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | BeginDestroy () |
Called before destroying the object. | |
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally | |
| void | PostLoad () |
Do any object-specific cleanup required immediately after loading an object. |