unreal.SlateIMEngineTextRenderParams¶
- class unreal.SlateIMEngineTextRenderParams(scale: Vector2D = Ellipsis, render_color: LinearColor = Ellipsis, kerning: float = 0.0, shadow_color: LinearColor = Ellipsis, shadow_offset: Vector2D = Ellipsis, centre_x: bool = False, centre_y: bool = False, outlined: bool = False, outline_color: LinearColor = Ellipsis)¶
Bases:
StructBaseExtra optional parameters for rendering text.
C++ Source:
Plugin: SlateIM
Module: SlateIMEngine
File: SlateIMEngineParameters.h
Editor Properties: (see get_editor_property/set_editor_property)
centre_x(bool): [Read-Write] If true, the text is centered on the given draw position on the X axis.centre_y(bool): [Read-Write] If true, the text is centered on the given draw position on the Y axis.kerning(float): [Read-Write] Adjust the distance between letters.outline_color(LinearColor): [Read-Write] Color of the text outline.outlined(bool): [Read-Write] If true, outline the text.render_color(LinearColor): [Read-Write] The color of the text.scale(Vector2D): [Read-Write] The scale of the text on the canvas.shadow_color(LinearColor): [Read-Write] The color of the text shadow.shadow_offset(Vector2D): [Read-Write] The offset of the shadow from the text it is shadowing.
- property centre_x: bool¶
[Read-Write] If true, the text is centered on the given draw position on the X axis.
- Type:
(bool)
- property centre_y: bool¶
[Read-Write] If true, the text is centered on the given draw position on the Y axis.
- Type:
(bool)
- property outline_color: LinearColor¶
[Read-Write] Color of the text outline.
- Type:
- property render_color: LinearColor¶
[Read-Write] The color of the text.
- Type:
- property shadow_color: LinearColor¶
[Read-Write] The color of the text shadow.
- Type: