In order to support this the following changes have been made:
- A new API for FSlateDrawElement::MakeDashedLines.
- Anti-aliased lines now upload texture coordinates dictating each vertex's position along the line, and the dash length in addition to the existing antialias gradient. This shouldn't add any additional bandwidth overhead since these texture coordinates were always being uploaded before anyway, just with a value of (1,1)
- Additional shader instructions for anti-aliased lines are now also run to compute the opacity for each pixel based on the dash length and position. These are always run, even for non-dashed, antialiased lines. Profiling showed negligible performance difference for a test with heavy line-rendering.
#rb Daren.Cheng, Patrick.Boutot
[CL 34526531 by andrew rodham in ue5-main branch]
- Also removed shrink size specialization from ArrangeChildrenInStack(), which did not infact work with SBoxPanel
- Fixed available space consumption and distribution for FillContentSize layout
- Added FillContentSize() example in SLayoutExample
#rb Patrick.Boutot
[CL 32820197 by mikko mononen in ue5-main branch]
This was happening because there was a hack in SColorPicker.cpp to show the placeholder text for the SThemeColorBlocksBar, which was broken. It has since been fixed, so I removed the hack to fix the placeholder text. At this point the placeholder text was misaligned, so I fixed the padding for it in SColorThemes.cpp. Befpre and after pic is attached to the Jira.
#jira UE-203428
#rb JeanMichel.Dignard
[CL 31354947 by karen jirak in ue5-main branch]
These are the changes in existing behavior:
- ShiftMouseMovePixelPerDelta has been deprecated in favor of these new mechanisms of ShiftMultiplier and CtrlMultiplier.
- SupportDynamicSliderMaxValue and SupportDynamicSliderMinValue now activate with Alt instead of Ctrl so that Ctrl can be used for CtrlMultiplier.
- OnMouseWheel had hardcoded ctrl/shift step increments and these now follow the ShiftMultiplier and CtrlMultiplier attributes.
There are two changes required so that snapping to the Delta attribute does not occur when using ShiftMultiplier and CtrlMultiplier:
- OnMouseMove commits the value by CommittedViaSpinMultiplier
- OnMouseButtonUp detects that the mouse event either has Shift or Ctrl
#jira UE-195384
#rb Patrick.Boutot, Vincent.Gauthier
[CL 30962670 by max chen in ue5-main branch]
[REVIEW] [at]patrick.boutot, [at]vincent.gauthier
#tests Used in widget that wants to use fixed left and right justication
#pf 649de0156b55986b7790f074
[CL 26332681 by christian savoie in ue5-main branch]
* Moved dllexport from type to methods/staticvar in all Engine runtime code. This improves compile times, memory and performance in dll builds
[CL 26082269 by henrik karlsson in ue5-main branch]
The observable array automatically notify the view when an item is added/removed from the array.
#jira UE-132673
#review https://p4-swarm.epicgames.net/reviews/23853491
#preflight 64087eaaaa00423335a0891f
[CL 24594683 by Patrick Boutot in ue5-main branch]
- Expanded FDeprecateSlateVector2D to provide structs for parameters, return types and member variables that use FVector2f, while still allowing conversion to/from FVector2d with optional per-module deprecation mechanisms.
- Many of the high-traffic SlateCore types like FSlateBrush, FGeometry and FSlateLayoutTransform have been converted to use these deprecation mechanisms.
- Some legacy FGeometry::ToPaintGeometry and MakeChild overloads have been explicitly deprecated since they cause ambiguous overloads with FSlateLayoutTransform if it were to support implicit construction.
- Deprecated ULocalPlayer::GetPixelBoundingBox and GetPixelPoint to prefer FVector2f for OptionalAllotedSize parameter since this parameter is expected to come from FGeometry
- Exposed FVector2f members to blueprints
#jira none
#rb Andy.Davidson, Dave.Jones, Vincent.Gauthier, Patrick.Boutot
#preflight 63bc6fd068068a8bd6027c9f
[CL 23631073 by Andrew Rodham in ue5-main branch]
Fixed include paths to be relative to the private or public folders.
Hid or removed includes that reached into other private module folders.
Updated PublicInclude paths when necessary.
#jira
#preflight 631a717cec45fbf3d74d4ba7
[CL 21916033 by bryan sefcik in ue5-main branch]
#rb trivial
#jira UE-158646
#rnx
#preflight 62cd299e173a4f34089c95f5
- Replaced use of 'master' with ' employer'
[CL 21053802 by paul chipchase in ue5-main branch]
Slate: Transform DrawElements from Vector2D to Vector2f. Use FDeprecateVector2D to create a deprecation path for function that returns a FVector2D.
#jira UE-137340
#rb sebastian.nordgren
#preflight 627572e0dd374c4235ce3174, 62791043822bdc69f007e4de
[CL 20102076 by Patrick Boutot in ue5-main branch]