Types & enums
Blueprint-exposed enums and structs provided by the plugin. All are usable from C++ and Blueprint.
EWebHUDAnchor
UENUM(BlueprintType) — Source: SampleProject/Plugins/UnrealReactBridge/Source/UnrealReactBridge/Public/WebHUDAnchor.h
The anchor position passed to Add Web HUD. Determines where on the viewport the HUD layer is pinned and how Padding is interpreted.
| Value | Position |
|---|---|
TopLeft (default) | corner |
TopCenter | top edge midpoint |
TopRight | corner |
MiddleLeft | left edge midpoint |
Center | viewport center; ignores Padding |
MiddleRight | right edge midpoint |
BottomLeft | corner |
BottomCenter | bottom edge midpoint |
BottomRight | corner |
┌────────────────────────────────────────┐
│ TopLeft TopCenter TopRight │
│ │
│ MiddleLeft Center MiddleRight │
│ │
│ BottomLeft BottomCenter BottomRight │
└────────────────────────────────────────┘For corner anchors Padding is the inset toward the viewport interior; the layout subsystem auto-flips the sign for right / bottom anchors so positive padding always pushes inward. Center ignores Padding.
FWebHUDHandle
USTRUCT(BlueprintType) — Source: SampleProject/Plugins/UnrealReactBridge/Source/UnrealReactBridge/Public/WebHUDHandle.h
Returned by Add Web HUD. Identifies a live HUD layer; pass to Remove Web HUD to tear it down.
Fields
| Field | Type | Notes |
|---|---|---|
Name | FName | The identifier passed to Add Web HUD |
Layer | TWeakObjectPtr<UWebHUDLayer> | Non-BP-exposed back-pointer to the underlying layer widget |
Methods
| Method | Returns | Notes |
|---|---|---|
IsValid() | bool | True iff Name is set and the layer is still alive |
In Blueprint, check Handle.Name != None if you don't have direct access to IsValid.
EBridgeErrorType
UENUM(BlueprintType) — Source: SampleProject/Plugins/UnrealReactBridge/Source/UnrealReactBridge/Public/UnrealReactBridgeTypes.h
Surfaced through the OnBridgeError delegate on WebHUDWidget and the Subsystem.
| Value | When |
|---|---|
WebBrowserNull | Required WebBrowser widget not found in WBP |
ReactNotReady | Event sent before lifecycle step 5 |
JSONParseError | JsonData argument is not valid JSON |
JavaScriptError | Script error in the loaded page |
EventQueueFull | Buffer overflowed (raise MaxEventQueueSize or send less) |
NetworkError | Page failed to load (URL / host unreachable) |
Unknown | Catch-all |
FBridgeErrorInfo
USTRUCT(BlueprintType) — Source: SampleProject/Plugins/UnrealReactBridge/Source/UnrealReactBridge/Public/UnrealReactBridgeTypes.h
Payload struct dispatched alongside EBridgeErrorType on error delegates.
| Field | Type | Notes |
|---|---|---|
ErrorType | EBridgeErrorType | the case above |
ErrorMessage | FString | human-readable summary |
AdditionalInfo | FString | extra context (event name, URL, JSON snippet, …) |
Timestamp | FDateTime | when it occurred |
See also
/guide/debugging— wiring up the error delegate and reading the log./reference/bp-widget#delegates— where these types are surfaced.