Navigation
API > API/Plugins > API/Plugins/RemoteControl > API/Plugins/RemoteControl/URemoteControlPreset
Property watcher that triggers a delegate when the watched property is modified.
| Name | FRCPropertyWatcher |
| Type | struct |
| Header File | /Engine/Plugins/VirtualProduction/RemoteControl/Source/RemoteControl/Public/RemoteControlPreset.h |
| Include Path | #include "RemoteControlPreset.h" |
Syntax
struct FRCPropertyWatcher
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FRCPropertyWatcher
(
const TSharedPtr< FRemoteControlProperty >& InWatchedProperty, |
RemoteControlPreset.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| LastFrameValue | TArray< uint8 > | Latest property value as bytes. | RemoteControlPreset.h | |
| OnWatchedValueChanged | FSimpleDelegate | Delegate called when the watched property changes values. | RemoteControlPreset.h | |
| WatchedProperty | TWeakPtr< FRemoteControlProperty > | Weak pointer to the remote control property. | RemoteControlPreset.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void CheckForChange() |
Checks if the property value has changed since the last frame and updates the last frame value. | RemoteControlPreset.h |