Improve docs for UlxUserWidget

This commit is contained in:
2026-04-17 03:17:15 -04:00
parent 392faff205
commit 6b057d1514

View File

@@ -22,20 +22,18 @@ public:
// from the component and reinstated without losing their delegates.
void BackupInputComponent();
// Remove every live event binding whose action is InputAction.
// No-op if there are none, or if InputComponent isn't enhanced.
// Removes all handlers for 'InputAction'. That includes temporarily
// deactivating event graph nodes that handle 'InputAction'.
UFUNCTION(BlueprintCallable, Category="Luprex|Widget Enhanced Input")
void DisableInputAction(const UInputAction* InputAction);
// Replace any live bindings for InputAction with fresh clones of every
// saved binding for that action. Leaves the backup array intact so this
// can be called repeatedly.
// Reactivates any graph nodes that handle 'InputAction', and
// removes any other handlers for 'InputAction'.
UFUNCTION(BlueprintCallable, Category="Luprex|Widget Enhanced Input")
void RestoreInputAction(const UInputAction* InputAction);
// Install live bindings on From that, when fired, dispatch through a
// clone of each saved binding for To. Clears any pre-existing live
// bindings on From first. Backup array is untouched.
// Any event graph nodes that handle 'to' are made to also
// handle 'From' events. Any other handlers of 'From' are removed.
UFUNCTION(BlueprintCallable, Category="Luprex|Widget Enhanced Input")
void RedirectInputAction(const UInputAction* From, const UInputAction* To);