Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
FuzzySearchMatch
Expérimental : This class may be changed or removed in future versions.
Hérite de : RefCounted < Object
Result returned by FuzzySearch containing match information.
Propriétés
|
||
|
||
|
Méthodes
get_matched_substrings() const |
Descriptions des propriétés
The original index of target in the provided array of targets when using FuzzySearch.search_all() otherwise -1.
Match score determined by FuzzySearch. Scores are not normalized and generally should not be directly compared between different queries.
Target string which was matched against.
Descriptions des méthodes
Array[Vector2i] get_matched_substrings() const 🔗
Returns each matched substring interval of target. The Vector2i.x component is the start of the interval and the Vector2i.y component is the length, corresponding to the arguments for String.substr().