Get RAPTOR

RaptorIcons

Loads and caches the classic RAPTOR icons, such as the brand mark and watermark glyphs, by file name.

NamespaceAssemblyKindStability
Raptor.EditorToolsRaptor.Editorclasspreview, since 0.1.0
public static class RaptorIcons

Methods

ClearCache

public static void ClearCache()

Clears the texture cache. Icons load again on next use.

WatermarkGlyph

public static Texture2D WatermarkGlyph(string baseName)

Returns a transparent tool glyph without its tile, used as the watermark behind the context-bar tool header. Returns null when the glyph is missing.

ParameterTypeDescription
baseNamestringThe icon's base file name.

Returns: The texture, or null.