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

property apply_outline_to_drop_shadows

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

Type

(bool)

property outline_color

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

Type

(LinearColor)

property outline_material

[Read-Write] Optional material to apply to the outline

Type

(Object)

property outline_size

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

Type

(int32)

property separate_fill_alpha

[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

Type

(bool)