Navigation
API > API/Plugins > API/Plugins/PCGGeometryScriptInterop > API/Plugins/PCGGeometryScriptInterop/Elements
Inheritance Hierarchy
- FPCGContext
- FPCGMeshSamplerContext
References
| Module | PCGGeometryScriptInterop |
| Header | /Engine/Plugins/Experimental/PCGGeometryScriptInterop/Source/PCGGeometryScriptInterop/Public/Elements/PCGMeshSampler.h |
| Include | #include "Elements/PCGMeshSampler.h" |
Syntax
struct FPCGMeshSamplerContext : public FPCGContext
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 | ||
| FGeometryScriptIndexList | TriangleIds |
Destructors
| Type | Name | Description | |
|---|---|---|---|