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