UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
EStretch Namespace Reference

Enumerations

enum  Type : int {
  None , Fill , ScaleToFit , ScaleToFitX ,
  ScaleToFitY , ScaleToFill , ScaleBySafeZone , UserSpecified ,
  UserSpecifiedWithClipping
}
 

Enumeration Type Documentation

◆ Type

Enumerator
None 

Does not scale the content.

Fill 

Scales the content non-uniformly filling the entire space of the area.

ScaleToFit 

Scales the content uniformly (preserving aspect ratio) until it can no longer scale the content without clipping it.

ScaleToFitX 

Scales the content uniformly (preserving aspect ratio) until it can no longer scale the content without clipping it along the x-axis, the y-axis can/will be clipped.

ScaleToFitY 

Scales the content uniformly (preserving aspect ratio) until it can no longer scale the content without clipping it along the y-axis, the x-axis can/will be clipped.

ScaleToFill 

Scales the content uniformly (preserving aspect ratio), until all sides meet or exceed the size of the area. Will result in clipping the longer side.

ScaleBySafeZone 

Scales the content according to the size of the safe zone currently applied to the viewport.

UserSpecified 

Scales the content by the scale specified by the user.

UserSpecifiedWithClipping 

Scales the content by the scale specified by the user and also clips.