Rewired Glyphs Docs Rewired Glyphs Docs
Rewired Glyphs Docs Rewired Glyphs Docs
Rewired Glyphs

Search Results for

    Method GetNativeGlyphFromTemplateMap

    GetNativeGlyphFromTemplateMap(SymbolPreference, int, string)

    Retrieve a SymbolPreference styled glyph for this templateElementID via the generic glyph mapping.

    Declaration
    public static Glyph GetNativeGlyphFromTemplateMap(SymbolPreference symbolPreference, int templateElementID, string collectionKey = null)
    Parameters
    Type Name Description
    SymbolPreference symbolPreference

    The preferred symbol styling to present for this template element

    int templateElementID

    The element input id to get a glyph for

    string collectionKey
    Returns
    Type Description
    Glyph

    The found Glyph inside of a template glyph map. Returns null (NOTnullGlyph) if none is found.

    Remarks

    Usage of this method is not recommended in most cases and should only be used if you need fine control over glyph display.

    You are encouraged to use InputGlyphs.GetJoystickGlyph(int,Rewired.Controller,Rewired.Pole,out Rewired.AxisRange,int,bool, string) instead.

    Docs generated for Rewired-Glyphs Unity Package. Package distributed under MIT license.