Navigation
API > API/Plugins > API/Plugins/DisplayCluster > API/Plugins/DisplayCluster/TMarginSet
Description
Expands the given rectangle in-place by the values in this margin set.
Each margin value increases the corresponding edge outward:
- Left decreases Min.X
- Right increases Max.X
- Top decreases Min.Y
- Bottom increases Max.Y
This operation can result in negative-sized rectangles if large margins are used.
| Name | ApplyExpandToRect |
| Type | function |
| Header File | /Engine/Plugins/Runtime/nDisplay/Source/DisplayCluster/Public/Math/MarginSet.h |
| Include Path | #include "Math/MarginSet.h" |
template<typename IntType>
void ApplyExpandToRect
(
TIntRect < IntType > & InOutRect
) const
Parameters
| Name | Remarks |
|---|---|
| InOutRect | [in,out] The rectangle to expand. Modified in place. |