Enum UpdateTargetTrigger
Declares when a IBinding refreshes its target from its source, i.e. the opposite direction from UpdateSourceTrigger.
public enum UpdateTargetTrigger : byte
- Extension Methods
Fields
EveryFrame = 1Refreshes the target once per frame, regardless of whether the source raises change notifications.
Intended for game-loop-driven state that mutates every tick without going through INotifyPropertyChanged (e.g. plain fields on a simulation/ECS component). The refresh is driven by UpdateFrameBindings(), called once per frame from Render() — no per-property subscription is set up, so this mode has no reactive overhead beyond the one read-and-compare per frame.
Reactive = 0Refreshes the target only when the source raises PropertyChanged.
This is the default and matches how most view-model-driven UI works. It does nothing for sources that don't implement INotifyPropertyChanged — such a source's value is read once, at bind time, and never refreshed again.