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
實驗性: This class may be changed or removed in future versions.
繼承: RefCounted < Object
Result returned by FuzzySearch containing match information.
屬性
|
||
|
||
|
方法
get_matched_substrings() const |
屬性說明
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.
方法說明
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().