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, center_vertically: bool = False, center_horizontally: bool = False)¶
Bases:
StructBaseSettings for debug drawing strings
C++ Source:
Plugin: DrawDebugLibrary
Module: DrawDebugLibrary
File: DrawDebugLibrary.h
Editor Properties: (see get_editor_property/set_editor_property)
center_horizontally(bool): [Read-Write] Draws the string centered horizontally rather than starting from the top leftcenter_vertically(bool): [Read-Write] Draws the string centered vertically rather than starting from the top leftcharacter_spacing(float): [Read-Write] Gaps between characters in cmheight(float): [Read-Write] Height of the textheight_scale(float): [Read-Write] Scaling factor for the height of the charactersline_spacing(float): [Read-Write] Scaling factor for the spacing between linesmonospaced(bool): [Read-Write] If to draw using a monospaced fontwidth_scale(float): [Read-Write] Scaling factor for the width of the characters
- property center_horizontally: bool¶
[Read-Write] Draws the string centered horizontally rather than starting from the top left
- Type:
(bool)
- property center_vertically: bool¶
[Read-Write] Draws the string centered vertically rather than starting from the top left
- Type:
(bool)
- property height_scale: float¶
[Read-Write] Scaling factor for the height of the characters
- Type:
(float)