unreal.FontRenderInfo

class unreal.FontRenderInfo(clip_text: bool = False, enable_shadow: bool = False, glow_info: DepthFieldGlowInfo = Ellipsis)

Bases: StructBase

Information used in font rendering

C++ Source:

  • Module: Engine

  • File: EngineTypes.h

Editor Properties: (see get_editor_property/set_editor_property)

  • clip_text (bool): [Read-Write] Whether to clip text

  • enable_shadow (bool): [Read-Write] Whether to turn on shadowing

  • glow_info (DepthFieldGlowInfo): [Read-Write] Depth field glow parameters (only usable if font was imported with a depth field)

property clip_text: bool

[Read-Write] Whether to clip text

Type:

(bool)

property enable_shadow: bool

[Read-Write] Whether to turn on shadowing

Type:

(bool)

property glow_info: DepthFieldGlowInfo

[Read-Write] Depth field glow parameters (only usable if font was imported with a depth field)

Type:

(DepthFieldGlowInfo)