unreal.DrawDebugCanvasTextSettings¶
- class unreal.DrawDebugCanvasTextSettings(monospaced: bool = False, font: Font = Ellipsis, width_scale: float = 0.0, height_scale: float = 0.0, shadow: bool = False, shadow_color: LinearColor = Ellipsis, shadow_offset: Vector2D = Ellipsis, outline: bool = False, outline_color: LinearColor = Ellipsis, center_vertically: bool = False, center_horizontally: bool = False)¶
Bases:
StructBaseSettings for debug drawing canvas text
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 text centered horizontally rather than starting from the top leftcenter_vertically(bool): [Read-Write] Draws the text centered vertically rather than starting from the top leftfont(Font): [Read-Write] Custom font to useheight_scale(float): [Read-Write] Scaling factor for the height of the charactersmonospaced(bool): [Read-Write] If to draw using a monospaced fontoutline(bool): [Read-Write] If to draw an outline around the textoutline_color(LinearColor): [Read-Write] Color of the outlineshadow(bool): [Read-Write] If to draw a shadow under the textshadow_color(LinearColor): [Read-Write] Color of the shadowshadow_offset(Vector2D): [Read-Write] Offset of the shadowwidth_scale(float): [Read-Write] Scaling factor for the width of the characters
- property center_horizontally: bool¶
[Read-Write] Draws the text centered horizontally rather than starting from the top left
- Type:
(bool)
- property center_vertically: bool¶
[Read-Write] Draws the text 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)
- property outline_color: LinearColor¶
[Read-Write] Color of the outline
- Type:
- property shadow_color: LinearColor¶
[Read-Write] Color of the shadow
- Type: