unreal.TextWrappingPolicy

class unreal.TextWrappingPolicy

Bases: EnumBase

The different methods that can be used if a word is too long to be broken by the default line-break iterator.

C++ Source:

  • Module: Slate

  • File: TextLayout.h

ALLOW_PER_CHARACTER_WRAPPING: TextWrappingPolicy

Fallback to per-character wrapping if a word is too long

Type:

1

DEFAULT_WRAPPING: TextWrappingPolicy

No fallback, just use the given line-break iterator

Type:

0