Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/Helpers
References
| Module | PCG |
| Header | /Engine/Plugins/PCG/Source/PCG/Public/Helpers/PCGDynamicTrackingHelpers.h |
| Include | #include "Helpers/PCGDynamicTrackingHelpers.h" |
Syntax
struct FPCGDynamicTrackingHelper
Remarks
Simple helper class to factorize the logic for gathering dynamic tracking keys and pushing them to the component. Only work for settings that override CanDynamicalyTrackKeys.
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddSingleDynamicTrackingKey
(
FPCGContext* InContext, |
Convenience function to push just a single selector as a tracking key to the component. | |
| void | AddSingleDynamicTrackingKey
(
FPCGContext* InContext, |
Convenient function to push just a single tracking key to the component. | |
| void | AddToTracking
(
FPCGSelectionKey&& InKey, |
Add the key to the tracking, will be uniquely added to the array. | |
| void | EnableAndInitialize
(
const FPCGContext* InContext, |
Enable dynamic tracking, will cache the weak ptr of the component and optionally resize the array for keys. | |
| void | Finalize
(
const FPCGContext* InContext |
Push all the tracked keys to the ceched component if still valid and the same as the context. |