Navigation
API > API/Runtime > API/Runtime/UMG > API/Runtime/UMG/FWidgetStateBitfield
Description
Intersection of binary and enum states, with union on enum state usage so enum state mismatches can fail Intersections will remove not allowed enum states, allowing for failure on bool conversion due to empty used states. Approximation of bitwise '&'. Non-commutative, will use LHS enum state set if RHS does not use enum. Additionally, if the RHS has binary states & the LHS does not meet those, all enum states will be marked unused to ensure failure
| Name | Intersect |
| Type | function |
| Header File | /Engine/Source/Runtime/UMG/Public/Binding/States/WidgetStateBitfield.h |
| Include Path | #include "Binding/States/WidgetStateBitfield.h" |
| Source | /Engine/Source/Runtime/UMG/Private/Binding/States/WidgetStateBitfield.cpp |
FWidgetStateBitfield Intersect
(
const FWidgetStateBitfield & Rhs
) const