Skip to main content

SpinBox

Base:
USpinBox
Type:
UNSpinBox
Header File:
NexusUI/Public/Components/NSpinBox.h

UNSpinBox

An extension on the UMG USpinBox which adds functionality to set its value without broadcasting / triggering events. This is the workaround for the usual UMG behavior where setting a value re-fires the bound change handler — useful when initializing the widget from a saved value without re-triggering the save path.

UFunctions​

Set Value (No Broadcast)​

/**
* Set the value of the USpinBox without triggering exposed event bindings.
* @param NewValue The new value.
*/
void SetValue_NoBroadcast(const float NewValue);