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] Apply Outline to Drop Shadows: When enabled the outline will be applied to any drop shadow that uses this fontoutline_color
(LinearColor): [Read-Write] Outline Color: The color of the outline for any character in this fontoutline_material
(Object): [Read-Write] Outline Material: Optional material to apply to the outlineoutline_size
(int32): [Read-Write] Outline Size: Size of the outline in slate units (at 1.0 font scale this unit is a pixel)separate_fill_alpha
(bool): [Read-Write] Separate Fill Alpha: 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] Apply Outline to Drop Shadows: When enabled the outline will be applied to any drop shadow that uses this font
- Type
(bool)
- property outline_color¶
[Read-Write] Outline Color: The color of the outline for any character in this font
- Type
- property outline_material¶
[Read-Write] Outline Material: Optional material to apply to the outline
- Type
(Object)
- property outline_size¶
[Read-Write] Outline Size: 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] Separate Fill Alpha: 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)