UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FWatchablePropertySet Class Reference

#include <InteractiveTool.h>

+ Inheritance diagram for FWatchablePropertySet:

Classes

class  FPropertyWatcher
 
class  TPropertyWatcher
 

Public Member Functions

 FWatchablePropertySet ()=default
 
 FWatchablePropertySet (const FWatchablePropertySet &)=delete
 
FWatchablePropertySetoperator= (const FWatchablePropertySet &)=delete
 
void CheckAndUpdateWatched ()
 
void SilentUpdateWatched ()
 
void SilentUpdateWatcherAtIndex (int32 i)
 
template<typename PropType >
int32 WatchProperty (const PropType &ValueIn, typename TPropertyWatcher< PropType >::FChangedCallback OnChangedIn)
 
template<typename PropType >
int32 WatchProperty (typename TPropertyWatcher< PropType >::FValueGetter GetValueIn, typename TPropertyWatcher< PropType >::FChangedCallback OnChangedIn)
 
template<typename PropType >
int32 WatchProperty (const PropType &ValueIn, typename TPropertyWatcher< PropType >::FChangedCallback OnChangedIn, typename TPropertyWatcher< PropType >::FNotEqualTestFunction NotEqualsIn)
 
template<typename PropType >
int32 WatchProperty (typename TPropertyWatcher< PropType >::FValueGetter GetValueIn, typename TPropertyWatcher< PropType >::FChangedCallback OnChangedIn, typename TPropertyWatcher< PropType >::FNotEqualTestFunction NotEqualsIn)
 

Constructor & Destructor Documentation

◆ FWatchablePropertySet() [1/2]

FWatchablePropertySet::FWatchablePropertySet ( )
default

◆ FWatchablePropertySet() [2/2]

FWatchablePropertySet::FWatchablePropertySet ( const FWatchablePropertySet )
delete

Member Function Documentation

◆ CheckAndUpdateWatched()

void FWatchablePropertySet::CheckAndUpdateWatched ( )
inline

◆ operator=()

FWatchablePropertySet & FWatchablePropertySet::operator= ( const FWatchablePropertySet )
delete

◆ SilentUpdateWatched()

void FWatchablePropertySet::SilentUpdateWatched ( )
inline

◆ SilentUpdateWatcherAtIndex()

void FWatchablePropertySet::SilentUpdateWatcherAtIndex ( int32  i)
inline

Silently updates just a single watcher, using an index gotten from WatchProperty. Useful when you want watching to still work for other properties changed in the same tick.

◆ WatchProperty() [1/4]

template<typename PropType >
int32 FWatchablePropertySet::WatchProperty ( const PropType ValueIn,
typename TPropertyWatcher< PropType >::FChangedCallback  OnChangedIn 
)
inline
Returns
Index of the watcher, which can be used in SilentUpdateWatcherAtIndex

◆ WatchProperty() [2/4]

template<typename PropType >
int32 FWatchablePropertySet::WatchProperty ( const PropType ValueIn,
typename TPropertyWatcher< PropType >::FChangedCallback  OnChangedIn,
typename TPropertyWatcher< PropType >::FNotEqualTestFunction  NotEqualsIn 
)
inline
Returns
Index of the watcher, which can be used in SilentUpdateWatcherAtIndex

◆ WatchProperty() [3/4]

template<typename PropType >
int32 FWatchablePropertySet::WatchProperty ( typename TPropertyWatcher< PropType >::FValueGetter  GetValueIn,
typename TPropertyWatcher< PropType >::FChangedCallback  OnChangedIn 
)
inline
Returns
Index of the watcher, which can be used in SilentUpdateWatcherAtIndex

◆ WatchProperty() [4/4]

template<typename PropType >
int32 FWatchablePropertySet::WatchProperty ( typename TPropertyWatcher< PropType >::FValueGetter  GetValueIn,
typename TPropertyWatcher< PropType >::FChangedCallback  OnChangedIn,
typename TPropertyWatcher< PropType >::FNotEqualTestFunction  NotEqualsIn 
)
inline
Returns
Index of the watcher, which can be used in SilentUpdateWatcherAtIndex

The documentation for this class was generated from the following file: