Skip to main content

FB1GameConfigWidgetCustomization

Overview

  • Holds all configuration parameters for the in-game widget customization system, including grid layout, drag behavior, animation timing, and file persistence settings.

Metadata

FieldValue
Kindstruct
EnvironmentB1 - Presentation
Categorystructs

Properties (18)

NameTypeDescription
CombinedSubWidgetOpacityWhenDraggingWidgetnumberOpacity applied to combined sub-widgets displayed behind the dragged widget.
DragIndicatorWidgetUUserWidgetWidget class used as the drag indicator; automatically added behind customizable widgets.
DragStartDelayWhenMouseDownSecnumberDuration in seconds a mouse button must be held on a widget before dragging begins automatically; values greater than 0 enable hold-to-drag.
GridCalculationInfostringDebug string showing the grid calculation result; computed at runtime.
GridNumFIntPointCalculated total number of grid columns and rows across the screen; computed at runtime.
GridSizeFIntPointSize of each grid cell in pixels used for snapping widget positions.
GridSpacingFVector2DSpacing between adjacent grid cells in pixels.
MovableGridAreaFB1IntMarginMovable grid area margin defining how many grid cells from each edge widgets are allowed to reach; active only when bUseMovableGridArea is true.
SaveFilePathstringRelative file path under the project's Saved directory where widget placement data is persisted.
ScreenPaddingFMarginScreen-edge padding applied to all four sides of the display area.
ScreenSizeFIntPointReference screen resolution used as the baseline for grid and layout calculations.
WidgetMoveAnimationTimeSecnumberDuration in seconds for the widget move animation when dragging; active only when bUseWidgetMoveAnimationWhenDragging is true.
WidgetScaleAnimationTimeSecnumberDuration in seconds for the scale change animation when a widget is picked up or released.
WidgetScaleWhenDraggingnumberScale factor applied to the widget while it is being dragged.
bShowDragIndicatorbooleanWhether to display the drag indicator background when hovering over a customizable widget.
bShowGridbooleanWhether to display the grid overlay while dragging a widget.
bUseMovableGridAreabooleanWhether to restrict widget movement to the defined movable grid area.
bUseWidgetMoveAnimationWhenDraggingbooleanWhether to play a move animation when a widget is dragged to a new grid position.