Skip to main content

B1GameConfigWidgetCustomization

  • Holds all configuration parameters for the in-game widget customization system, including grid layout, drag behavior, animation timing, and file persistence settings.
PropertyTypeDescriptionMetadata
ScreenSizeFIntPointReference screen resolution used as the baseline for grid and layout calculations.Category: B1GameConfigWidgetCustomization
ScreenPaddingFMarginScreen-edge padding applied to all four sides of the display area.Category: B1GameConfigWidgetCustomization
GridSizeFIntPointSize of each grid cell in pixels used for snapping widget positions.Category: B1GameConfigWidgetCustomization
GridSpacingFVector2DSpacing between adjacent grid cells in pixels.Category: B1GameConfigWidgetCustomization
GridNumFIntPointCalculated total number of grid columns and rows across the screen; computed at runtime.Category: B1GameConfigWidgetCustomization
GridCalculationInfoFStringDebug string showing the grid calculation result; computed at runtime.Category: B1GameConfigWidgetCustomization
bUseMovableGridAreaboolWhether to restrict widget movement to the defined movable grid area.Category: B1GameConfigWidgetCustomization
MovableGridAreaFB1IntMarginMovable grid area margin defining how many grid cells from each edge widgets are allowed to reach; active only when bUseMovableGridArea is true.Category: B1GameConfigWidgetCustomization
bShowGridboolWhether to display the grid overlay while dragging a widget.Category: B1GameConfigWidgetCustomization
bShowDragIndicatorboolWhether to display the drag indicator background when hovering over a customizable widget.Category: B1GameConfigWidgetCustomization
DragStartDelayWhenMouseDownSecfloatDuration in seconds a mouse button must be held on a widget before dragging begins automatically; values greater than 0 enable hold-to-drag.Category: B1GameConfigWidgetCustomization
bUseWidgetMoveAnimationWhenDraggingboolWhether to play a move animation when a widget is dragged to a new grid position.Category: B1GameConfigWidgetCustomization
WidgetMoveAnimationTimeSecfloatDuration in seconds for the widget move animation when dragging; active only when bUseWidgetMoveAnimationWhenDragging is true.Category: B1GameConfigWidgetCustomization
WidgetScaleWhenDraggingfloatScale factor applied to the widget while it is being dragged.Category: B1GameConfigWidgetCustomization
WidgetScaleAnimationTimeSecfloatDuration in seconds for the scale change animation when a widget is picked up or released.Category: B1GameConfigWidgetCustomization
CombinedSubWidgetOpacityWhenDraggingWidgetfloatOpacity applied to combined sub-widgets displayed behind the dragged widget.Category: B1GameConfigWidgetCustomization
DragIndicatorWidgetTSubclassOfWidget class used as the drag indicator; automatically added behind customizable widgets.Category: B1GameConfigWidgetCustomization
SaveFilePathFStringRelative file path under the project's Saved directory where widget placement data is persisted.Category: B1GameConfigWidgetCustomization