unreal.DrawDebugStringSettings

class unreal.DrawDebugStringSettings(height: float = 0.0, monospaced: bool = False, width_scale: float = 0.0, height_scale: float = 0.0, line_spacing: float = 0.0, character_spacing: float = 0.0)

Bases: StructBase

Settings for debug drawing strings

C++ Source:

  • Plugin: DrawDebugLibrary

  • Module: DrawDebugLibrary

  • File: DrawDebugLibrary.h

Editor Properties: (see get_editor_property/set_editor_property)

  • character_spacing (float): [Read-Write] Gaps between characters in cm

  • height (float): [Read-Write] Height of the text

  • height_scale (float): [Read-Write] Scaling factor for the height of the characters

  • line_spacing (float): [Read-Write] Scaling factor for the spacing between lines

  • monospaced (bool): [Read-Write] If to draw using a monospaced font

  • width_scale (float): [Read-Write] Scaling factor for the width of the characters

property character_spacing: float

[Read-Write] Gaps between characters in cm

Type:

(float)

property height: float

[Read-Write] Height of the text

Type:

(float)

property height_scale: float

[Read-Write] Scaling factor for the height of the characters

Type:

(float)

property line_spacing: float

[Read-Write] Scaling factor for the spacing between lines

Type:

(float)

property monospaced: bool

[Read-Write] If to draw using a monospaced font

Type:

(bool)

property width_scale: float

[Read-Write] Scaling factor for the width of the characters

Type:

(float)