unreal.Stretch
¶
- class unreal.Stretch¶
Bases:
EnumBase
EStretch
C++ Source:
Module: Slate
File: SScaleBox.h
- SCALE_BY_SAFE_ZONE: Stretch¶
Scales the content according to the size of the safe zone currently applied to the viewport.
- Type:
6
- SCALE_TO_FILL: Stretch¶
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.
- Type:
5
- SCALE_TO_FIT: Stretch¶
Scales the content uniformly (preserving aspect ratio) until it can no longer scale the content without clipping it.
- Type:
2
- SCALE_TO_FIT_X: Stretch¶
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.
- Type:
3