Get RAPTOR

RaptorBrand

The wordmark font and the version and edition labels.

NamespaceAssemblyKindStability
Raptor.EditorToolsRaptor.Editorclasspreview, since 0.1.0

WordmarkFont sets a custom wordmark font. When it is null or returns null, RAPTOR's logo image is used. VersionLabel and EditionLabel come from the package's package.json when RAPTOR is installed as a package, and from RAPTOR's built-in version and "Licensed" otherwise.

Set the slot from an [InitializeOnLoad] static constructor on the main thread. A provider that throws is logged once and treated as null.

public static class RaptorBrand

Fields

WordmarkFont

public static Func<Font> WordmarkFont;

Provides the wordmark font. When null, RAPTOR's logo image is used. Called on GUI events, so keep it cheap.

The last assignment wins. Assign null to restore the logo image.

Properties

EditionLabel

public static string EditionLabel { get; }

Gets the package's edition, or "Licensed" when RAPTOR is not installed as a package.

VersionLabel

public static string VersionLabel { get; }

Gets the package's version, or RAPTOR's built-in version when RAPTOR is not installed as a package.