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: StructBase

Extra 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 kerning: float

[Read-Write] Adjust the distance between letters.

Type:

(float)

property outline_color: LinearColor

[Read-Write] Color of the text outline.

Type:

(LinearColor)

property outlined: bool

[Read-Write] If true, outline the text.

Type:

(bool)

property render_color: LinearColor

[Read-Write] The color of the text.

Type:

(LinearColor)

property scale: Vector2D

[Read-Write] The scale of the text on the canvas.

Type:

(Vector2D)

property shadow_color: LinearColor

[Read-Write] The color of the text shadow.

Type:

(LinearColor)

property shadow_offset: Vector2D

[Read-Write] The offset of the shadow from the text it is shadowing.

Type:

(Vector2D)