Skip to content

PathLibraryPanel

Extends: PanelContainer

Description

This is panel that displays the menu of Paths.

Accessed by 'Global.Editor.PathLibraryPanel'.

Properties

GridMenu PathMenu
Control filters
HSlider strictness
PathTool PathTool
Dictionary searchEngine
Dictionary regexEngine

Methods

Dictionary Save ( )
void Load ( Dictionary data )
void Init ( )
void ShowAllObjects ( )
void ShowObjectsArray ( Texture[] textures )
void ShowNoObjects ( )
void Select ( int index )
void SelectTexture ( Texture texture )

Property Descriptions

  • GridMenu PathMenu:
    The menu that contains the paths to display.

  • Control filters:
    The parent of the search UI elements.

  • HSlider strictness:
    The slider to determine how strict the search bar should be. Low value allows for misspellings to still catch the terms.

  • PathTool PathTool:
    Reference of the PathTool.

  • Dictionary searchEngine:
    Lookup table for the standard search engine. Dictionary of String key - Array[Texture] value.

  • Dictionary regexEngine:
    Lookup table for the regex engine. Dictionary of String key - Texture value.

Method Descriptions

  • Dictionary Save ( ):
    Serialize the last state of the panel to be restored in the future. No need to call manually.

  • void Load ( Dictionary data ):
    Load the last state of the panel to be restored in the future. No need to call manually.

  • void Init ( ):
    Initialize the menu and load the assets.




  • void Select ( int index ):
    Select a specific path asset in the menu. Index is the item order.