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

#include <RenderingCommon.h>

Public Member Functions

 FShortRect ()
 
 FShortRect (uint16 InLeft, uint16 InTop, uint16 InRight, uint16 InBottom)
 
 FShortRect (const FSlateRect &Rect)
 
bool operator== (const FShortRect &RHS) const
 
bool operator!= (const FShortRect &RHS) const
 
bool DoesIntersect (const FShortRect &B) const
 
bool DoesIntersect (const FSlateRect &B) const
 
FVector2f GetTopLeft () const
 
FVector2f GetBottomRight () const
 

Public Attributes

uint16 Left
 
uint16 Top
 
uint16 Right
 
uint16 Bottom
 

Detailed Description

Stores an aligned rect as shorts.

Constructor & Destructor Documentation

◆ FShortRect() [1/3]

FShortRect::FShortRect ( )
inline

◆ FShortRect() [2/3]

FShortRect::FShortRect ( uint16  InLeft,
uint16  InTop,
uint16  InRight,
uint16  InBottom 
)
inline

◆ FShortRect() [3/3]

FShortRect::FShortRect ( const FSlateRect Rect)
inlineexplicit

Member Function Documentation

◆ DoesIntersect() [1/2]

bool FShortRect::DoesIntersect ( const FShortRect B) const
inline

◆ DoesIntersect() [2/2]

bool FShortRect::DoesIntersect ( const FSlateRect B) const
inline

◆ GetBottomRight()

FVector2f FShortRect::GetBottomRight ( ) const
inline

◆ GetTopLeft()

FVector2f FShortRect::GetTopLeft ( ) const
inline

◆ operator!=()

bool FShortRect::operator!= ( const FShortRect RHS) const
inline

◆ operator==()

bool FShortRect::operator== ( const FShortRect RHS) const
inline

Member Data Documentation

◆ Bottom

uint16 FShortRect::Bottom

◆ Left

uint16 FShortRect::Left

◆ Right

uint16 FShortRect::Right

◆ Top

uint16 FShortRect::Top

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