Navigation
API > API/Plugins > API/Plugins/PCG
| Name | FPCGGetPropertyFromObjectPathElement |
| Type | class |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Elements/PCGGetPropertyFromObjectPath.h |
| Include Path | #include "Elements/PCGGetPropertyFromObjectPath.h" |
Syntax
class FPCGGetPropertyFromObjectPathElement : public IPCGElementWithCustomContext< FPCGLoadObjectsFromPathContext >
Implements Interfaces
Functions
Public
Overridden from IPCGElement
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual 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. | Elements/PCGGetPropertyFromObjectPath.h | |
virtual 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 | Elements/PCGGetPropertyFromObjectPath.h |
Protected
Overridden from IPCGElement
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool ExecuteInternal
(
FPCGContext* Context |
Core execution method for the given element. Will be called until it returns true. | Elements/PCGGetPropertyFromObjectPath.h | |
virtual bool PrepareDataInternal
(
FPCGContext* Context |
Elements/PCGGetPropertyFromObjectPath.h |