unreal.StretchDirection

class unreal.StretchDirection

Bases: EnumBase

EStretch Direction

C++ Source:

  • Module: Slate

  • File: SScaleBox.h

BOTH: StretchDirection

Will scale the content up or down.

Type:

0

DOWN_ONLY: StretchDirection

Will only make the content smaller, will never scale it larger than the content’s desired size.

Type:

1

UP_ONLY: StretchDirection

Will only make the content larger, will never scale it smaller than the content’s desired size.

Type:

2