Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/Elements
Inheritance Hierarchy
- IPCGElement
- FPCGGetPropertyFromObjectPathElement
References
| Module | PCG |
| Header | /Engine/Plugins/PCG/Source/PCG/Public/Elements/PCGGetPropertyFromObjectPath.h |
| Include | #include "Elements/PCGGetPropertyFromObjectPath.h" |
Syntax
class FPCGGetPropertyFromObjectPathElement : 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* Context |
Core execution method for the given element. Will be called until it returns true. | |
| bool | IsCacheable
(
const UPCGSettings* InSettings |
FIXME: Disable the caching to be sure that we have the most up-to-date data from external objects To be re-enabled when we have more control on the cache, to be able to remove entries that were generated but no longer tracked, because if this object changes but it's not tracked anymore, then it will not properly remove itself from the cache and not be caught up in future executions | |
| bool | PrepareDataInternal
(
FPCGContext* Context |
The prepare data phase is one where it is more likely to be able to multithread |