Navigation
API > API/Plugins > API/Plugins/PCGGeometryScriptInterop > API/Plugins/PCGGeometryScriptInterop/Elements
Inheritance Hierarchy
- FPCGContext
- IPCGAsyncLoadingContext
- FPCGMeshSamplerContext
References
| Module | PCGGeometryScriptInterop |
| Header | /Engine/Plugins/PCGGeometryScriptInterop/Source/PCGGeometryScriptInterop/Public/Elements/PCGMeshSampler.h |
| Include | #include "Elements/PCGMeshSampler.h" |
Syntax
struct FPCGMeshSamplerContext :
public FPCGContext ,
public IPCGAsyncLoadingContext
Remarks
Extra context to store all the data that need to be kept between multiple executions (time slicing)
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bDataPrepared | Set to true if prepared data succeeded. | |
| FGeometryScriptColorList | Colors | ||
| TObjectPtr< UDynamicMesh > | DynamicMesh | Dynamic mesh. Will be added to root. | |
| int32 | Iterations | Number of iterations to be done. | |
| FGeometryScriptVectorList | Normals | ||
| UPCGPointData * | OutPointData | Output point data. | |
| FGeometryScriptVectorList | Positions | Lists extracted from the mesh. | |
| TFuture< bool > | SamplingFuture | For Poisson sampling, we are starting a future that is not framebound Store the future and synchronisation items in the context | |
| TUniquePtr< FProgressCancel > | SamplingProgess | ||
| std::atomic< bool > | StopSampling | ||
| FPCGMetadataAttribute< int32 > * | TriangleIdAttribute | ||
| FGeometryScriptIndexList | TriangleIds | ||
| FPCGMetadataAttribute< FVector2D > * | UVAttribute | Optional attributes. |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Overridden from FPCGContext
| Type | Name | Description | |
|---|---|---|---|
| void | AddExtraStructReferencedObjects
(
FReferenceCollector& Collector |