I’m using version 5.3.2 of Unreal Engine.
UE_DEPRECATED(5.2, “Direct access to Brush is deprecated. Please use the getter or setter.”)
I tried to reset the outlinesetting with getters and setters because of the instructions above.
When I tried to update the FSlateBrush’s OutlineSetting, it didn’t work.
The code inside “Styling/SlateBrush.h” looks like this
bool operator==( const FSlateBrush& Other ) const
{
return ImageSize == Other.ImageSize
&& DrawAs == Other.DrawAs
&& Margin == Other.Margin
&& TintColor == Other.TintColor
&& Tiling == Other.Tiling
&& Mirroring == Other.Mirroring
&& ResourceObject == Other.ResourceObject
&& ResourceName == Other.ResourceName
&& bIsDynamicallyLoaded == Other.bIsDynamicallyLoaded
&& UVRegion == Other.UVRegion;
}
The comparison syntax doesn’t include outlinesetting, so it looks like brush didn’t update properly.
Are there any updates like this in Unreal Engine 5.4 or 5.5?