Navigation
API > API/Plugins > API/Plugins/PCGGeometryScriptInterop > API/Plugins/PCGGeometryScriptInterop/Elements > API/Plugins/PCGGeometryScriptInterop/Elements/FPCGMeshSamplerElement
- IPCGElement::CanExecuteOnlyOnMainThread()
- FPCGMeshSamplerElement::CanExecuteOnlyOnMainThread()
References
| Module | PCGGeometryScriptInterop |
| Header | /Engine/Plugins/PCGGeometryScriptInterop/Source/PCGGeometryScriptInterop/Public/Elements/PCGMeshSampler.h |
| Include | #include "Elements/PCGMeshSampler.h" |
virtual bool CanExecuteOnlyOnMainThread
(
FPCGContext * Context
) const
Remarks
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.