Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/Tests
References
| Module | PCG |
| Header | /Engine/Plugins/Experimental/PCG/Source/PCG/Public/Tests/PCGTestsCommon.h |
| Include | #include "Tests/PCGTestsCommon.h" |
Syntax
struct FTestData
Variables
| Type | Name | Description | |
|---|---|---|---|
| FPCGDataCollection | InputData | ||
| FPCGDataCollection | OutputData | ||
| FRandomStream | RandomStream | ||
| int32 | Seed | ||
| UPCGSettings * | Settings | ||
| AActor * | TestActor | ||
| UPCGComponent * | TestPCGComponent |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FTestData
(
int32 Seed, |
Destructors
| Type | Name | Description | |
|---|---|---|---|
~FTestData () |
Functions
| Type | Name | Description | |
|---|---|---|---|
| TUniquePtr< FPCGContext > | InitializeTestContext
(
const UPCGNode* InNode |
Initialize a context and set the number of tasks available to 1. | |
| void | Reset
(
UPCGSettings* InSettings |