Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/FGeometry
Description
Translates the local coordinates into local coordinates that after being transformed into absolute space will be rounded to a whole number or approximately a whole number. This is important for cases where you want to show a popup or a tooltip and not have the window start on a half pixel, which can cause the contents to jitter in relation to each other as the tooltip or popup moves around.
| Name | LocalToRoundedLocal |
| Type | function |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Layout/Geometry.h |
| Include Path | #include "Layout/Geometry.h" |
UE::Slate::FDeprecateVector2DResult LocalToRoundedLocal
(
UE::Slate::FDeprecateVector2DParameter LocalCoordinate
) const