ObservableProperty
ObservableProperty›Concepts›Core Concepts

Core Concepts

Stable

Understanding reactive programming, distinct change filtering, and MVVM.

Core Concepts

ObservableProperty brings the power of reactive data flow to Unreal Engine.

The Reactive Loop#

Instead of your UI constantly asking "Did health change yet? Did health change yet?" on every frame, the property itself announces "I just changed from 100 to 75!" only when a change occurs.

Distinct Value Filtering#

One common source of UI bugs and performance waste is redundant setter calls. For example, if a health regeneration function runs every second and sets health to 100 when it's already full:

  • Standard Event Dispatchers fire blindly on every call, triggering unnecessary UI animations.
  • ObservableProperty automatically detects that NewValue == OldValue and suppresses the broadcast!
Value Change Comparison
Click to expand
Visual Guide: Value Change Comparison