Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/Slate/Public/Widgets/Layout/SSplitter.h |
Include |
#include "Widgets/Layout/SSplitter.h" |
Source |
/Engine/Source/Runtime/Slate/Private/Widgets/Layout/SSplitter.cpp |
template<EOrientation SplitterOrientation>
static int32 GetHandleBeingResizedFromMousePosition
(
float PhysicalSplitterHandleSize,
float HitDetectionSplitterHandleSize,
FVector2D LocalMousePos,
const TArray< FLayoutGeometry > & ChildGeometries
)
Given a mouse position within the splitter, figure out which resize handle we are hovering (if any).
The index of the handle being hovered, or INDEX_NONE if we are not hovering a handle.
Parameter |
Description |
---|---|
LocalMousePos |
The mouse position within this splitter. |
ChildGeometris |
The arranged children and their geometries; we need to test the mouse against them. |