UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FMarqueeRect Struct Reference

#include <MarqueeRect.h>

Public Member Functions

 FMarqueeRect (UE::Slate::FDeprecateVector2DParameter InStartPoint=FVector2f::ZeroVector)
 
void UpdateEndPoint (const UE::Slate::FDeprecateVector2DParameter &NewEndPoint)
 
bool IsValid () const
 
UE::Slate::FDeprecateVector2DResult GetUpperLeft () const
 
UE::Slate::FDeprecateVector2DResult GetLowerRight () const
 
UE::Slate::FDeprecateVector2DResult GetSize () const
 
FSlateRect ToSlateRect () const
 

Public Attributes

FDeprecateSlateVector2D StartPoint
 
FDeprecateSlateVector2D EndPoint
 

Detailed Description

A convenient representation of a marquee selection

Constructor & Destructor Documentation

◆ FMarqueeRect()

FMarqueeRect::FMarqueeRect ( UE::Slate::FDeprecateVector2DParameter  InStartPoint = FVector2f::ZeroVector)
inline

Make a default marquee selection

Member Function Documentation

◆ GetLowerRight()

UE::Slate::FDeprecateVector2DResult FMarqueeRect::GetLowerRight ( ) const
inline
Returns
the lower right of the selection

◆ GetSize()

UE::Slate::FDeprecateVector2DResult FMarqueeRect::GetSize ( ) const
inline

The size of the selection

◆ GetUpperLeft()

UE::Slate::FDeprecateVector2DResult FMarqueeRect::GetUpperLeft ( ) const
inline
Returns
the upper left point of the selection

◆ IsValid()

bool FMarqueeRect::IsValid ( ) const
inline
Returns
true if this marquee selection is not too small to be considered real

◆ ToSlateRect()

FSlateRect FMarqueeRect::ToSlateRect ( ) const
inline
Returns
This marquee rectangle as a well-formed SlateRect

◆ UpdateEndPoint()

void FMarqueeRect::UpdateEndPoint ( const UE::Slate::FDeprecateVector2DParameter NewEndPoint)
inline

Update the location to which the user has dragged the marquee selection so far

Parameters
NewEndPointWhere the user has dragged so far.

Member Data Documentation

◆ EndPoint

FDeprecateSlateVector2D FMarqueeRect::EndPoint

Where the user has dragged to so far

◆ StartPoint

FDeprecateSlateVector2D FMarqueeRect::StartPoint

Where the user began the marquee selection


The documentation for this struct was generated from the following file: