Navigation
API > API/Plugins > API/Plugins/PCGGeometryScriptInterop > API/Plugins/PCGGeometryScriptInterop/Elements
Inheritance Hierarchy
- IPCGElement
- FPCGMeshSamplerElement
References
| Module | PCGGeometryScriptInterop |
| Header | /Engine/Plugins/PCGInterops/PCGGeometryScriptInterop/Source/PCGGeometryScriptInterop/Public/Elements/PCGMeshSampler.h |
| Include | #include "Elements/PCGMeshSampler.h" |
Syntax
class FPCGMeshSamplerElement : public IPCGElement
Overridden from IPCGElement
| Type | Name | Description | |
|---|---|---|---|
| bool | CanExecuteOnlyOnMainThread
(
FPCGContext* Context |
Loading needs to be done on the main thread and accessing objects outside of PCG might not be thread safe, so taking the safe approach. | |
| FPCGContext * | Let each element optionally act as a concrete factory for its own context | ||
| bool | ExecuteInternal
(
FPCGContext* InContext |
Core execution method for the given element. Will be called until it returns true. | |
| bool | PrepareDataInternal
(
FPCGContext* InContext |
The prepare data phase is one where it is more likely to be able to multithread |