Font Expressions

FontSample

The FontSample expression allows you to sample the texture pages out of a font resource as regular 2D textures. The alpha channel of the font will contain the font outline value. Only valid font pages are allowed to be specified.

Item Description

Properties

Font Holds the default font asset (from the Content Browser) to be held within the expression.
Font Texture Page The current font texture page to be used as a part of the texture.

FontSampleExample.png

FontSampleParameter

The FontSampleParameter expression provides a way to expose a font-based parameter in a material instance constant, making it easy to use different fonts in different instances. The alpha channel of the font will contain the font outline value. Only valid font pages are allowed to be specified.

Item Description

Properties

Parameter Name

Specifies the name used to identify the parameter in instance of the material and through code.

Group

Provides a way to organize parameter names into groups, or categories, within a MaterialInstanceConstant. All parameters within a material that have the same Group property name will be listed underneath that category in the instance.

Font Holds the default font asset (from the Content Browser) to be held within the expression.
Font Texture Page The current font texture page to be used as a part of the texture.

FontSampleParameterExample.png

Tags