FShortRect

Stores an aligned rect as shorts.

Windows
MacOS
Linux

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Rendering/RenderingCommon.h

Include

#include "Rendering/RenderingCommon.h"

Syntax

struct FShortRect

Remarks

Stores an aligned rect as shorts.

Variables

Name Description

Public variable

uint16

 

Bottom

Public variable

uint16

 

Left

Public variable

uint16

 

Right

Public variable

uint16

 

Top

Constructors

Name Description

Public function

FShortRect()

Public function

FShortRect

(
    const FSlateRect& Rect
)

Public function

FShortRect

(
    uint16 InLeft,
    uint16 InTop,
    uint16 InRight,
    uint16 InBottom
)

Functions

Name Description

Public function Const

bool

 

DoesIntersect

(
    const FShortRect& B
)

Public function Const

bool

 

DoesIntersect

(
    const FSlateRect& B
)

Public function Const

FVector2D

 

GetBottomRight()

Public function Const

FVector2D

 

GetTopLeft()

Operators

Name Description

Public function Const

bool

 

operator!=

(
    const FShortRect& RHS
)

Public function Const

bool

 

operator==

(
    const FShortRect& RHS
)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss