Table of Contents

Struct ResolvedFont

Namespace
Velvet
Assembly
Velvet.Docs.dll

Outcome of resolving a (family, weight, italic) request against the VelvetFonts registry. HasAsset tells the caller whether a Font Asset was found; ResidualBold / ResidualItalic are the parts of the request that the chosen asset does NOT already satisfy and therefore must be emulated through -unity-font-style (faux bold / faux italic).

public readonly struct ResolvedFont

Constructors

ResolvedFont(FontAsset?, bool, bool)

Fields

Asset
HasAsset
ResidualBold
ResidualItalic