Navigation
API > API/Runtime > API/Runtime/UMG > API/Runtime/UMG/Binding > API/Runtime/UMG/Binding/States > API/Runtime/UMG/Binding/States/FWidgetStateBitfield > API/Runtime/UMG/Binding/States/FWidgetStateBitfield/SetBinaryState
References
| Module | UMG |
| Header | /Engine/Source/Runtime/UMG/Public/Binding/States/WidgetStateBitfield.h |
| Include | #include "Binding/States/WidgetStateBitfield.h" |
| Source | /Engine/Source/Runtime/UMG/Private/Binding/States/WidgetStateBitfield.cpp |
void SetBinaryState
&40;
const FWidgetStateBitfield & BinaryStateBitfield,
bool BinaryStateValue
&41;
Remarks
Set Binary state to given value, using a bitfield to indicate states that should be changed
Parameters
| Name | Description |
|---|---|
| BinaryStateBitfield | state bitfield, all marked states will be set with given value |
| BinaryStateValue | Value to assign for given Binary state |