unreal.FontOutlineSettings

class unreal.FontOutlineSettings(outline_size=0, separate_fill_alpha=False, apply_outline_to_drop_shadows=False, outline_material=None, outline_color=[0.0, 0.0, 0.0, 1.0])

Bases: unreal.StructBase

Settings for applying an outline to a font

C++ Source:

  • Module: SlateCore
  • File: SlateFontInfo.h

Editor Properties: (see get_editor_property/set_editor_property)

  • apply_outline_to_drop_shadows (bool): [Read-Write] When enabled the outline will be applied to any drop shadow that uses this font
  • outline_color (LinearColor): [Read-Write] The color of the outline for any character in this font
  • outline_material (Object): [Read-Write] Optional material to apply to the outline
  • outline_size (int32): [Read-Write] Size of the outline in slate units (at 1.0 font scale this unit is a pixel)
  • separate_fill_alpha (bool): [Read-Write] When enabled the outline will be completely translucent where the filled area will be. This allows for a separate fill alpha value The trade off when enabling this is slightly worse quality for completely opaque fills where the inner outline border meets the fill area
apply_outline_to_drop_shadows

(bool) – [Read-Write] When enabled the outline will be applied to any drop shadow that uses this font

outline_color

(LinearColor) – [Read-Write] The color of the outline for any character in this font

outline_material

(Object) – [Read-Write] Optional material to apply to the outline

outline_size

(int32) – [Read-Write] Size of the outline in slate units (at 1.0 font scale this unit is a pixel)

separate_fill_alpha

(bool) – [Read-Write] When enabled the outline will be completely translucent where the filled area will be. This allows for a separate fill alpha value The trade off when enabling this is slightly worse quality for completely opaque fills where the inner outline border meets the fill area