Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/Widgets > API/Runtime/Slate/Widgets/Layout > API/Runtime/Slate/Widgets/Layout/SSplitter
References
| Module | Slate |
| 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
&40;
float PhysicalSplitterHandleSize,
float HitDetectionSplitterHandleSize,
FVector2D LocalMousePos,
const TArray< FLayoutGeometry > & ChildGeometries
&41;
Remarks
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.
Parameters
| Name | Description |
|---|---|
| LocalMousePos | The mouse position within this splitter. |
| ChildGeometris | The arranged children and their geometries; we need to test the mouse against them. |