unreal.Text
¶
- class unreal.Text(*args, **kwargs)¶
Bases:
unreal._WrapperBase
Type for all Unreal exposed text instances
- classmethod as_currency(val, code) Text -- convert the given number (specified in the smallest unit for the given currency) to a culture correct Unreal text currency representation ¶
- classmethod as_number(num) Text -- convert the given number to a culture correct Unreal text representation ¶
- classmethod as_percent(num) Text -- convert the given number to a culture correct Unreal text percentgage representation ¶
- classmethod cast(object) Text -- cast the given object to this Unreal text type ¶
- format(...) -> Text -- use this Unreal text as a format pattern and generate a new text using the format arguments (may be a mapping, sequence, or set of (optionally named) arguments)¶
- is_culture_invariant() bool -- is this Unreal text culture invariant? ¶
- is_empty() bool -- is this Unreal text empty? ¶
- is_empty_or_whitespace() bool -- is this Unreal text empty or only whitespace? ¶
- is_from_string_table() bool -- is this Unreal text referencing a string table entry? ¶
- is_transient() bool -- is this Unreal text transient? ¶
- to_lower() Text -- convert this Unreal text to lowercase in a culture correct way ¶
- to_upper() Text -- convert this Unreal text to uppercase in a culture correct way ¶