unreal.FontOutlineSettings
¶
- class unreal.FontOutlineSettings(outline_size: int = 0, separate_fill_alpha: bool = False, apply_outline_to_drop_shadows: bool = False, outline_material: Object = Ellipsis, outline_color: LinearColor = Ellipsis)¶
Bases:
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 fontoutline_color
(LinearColor): [Read-Write] The color of the outline for any character in this fontoutline_material
(Object): [Read-Write] Optional material to apply to the outlineoutline_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: bool¶
[Read-Write] When enabled the outline will be applied to any drop shadow that uses this font
- Type:
(bool)
- property outline_color: LinearColor¶
[Read-Write] The color of the outline for any character in this font
- Type:
- property outline_material: Object¶
[Read-Write] Optional material to apply to the outline
- Type:
(Object)
- property outline_size: int¶
[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: 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
- Type:
(bool)