reckfellENGINE

FuzzySearchMatch

Result returned by FuzzySearch containing match information.

On this page
class FuzzySearchMatchReckfellSharpInherits RefCounted

Result returned by FuzzySearch containing match information.

Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.

Constructors1

FuzzySearchMatchConstructor
# FuzzySearchMatch
C#
public FuzzySearchMatch();

Properties3

OriginalIndexProperty
# OriginalIndex
C#
public int OriginalIndex { get; set; }

The original index of FuzzySearchMatch.Target in the provided array of targets when using FuzzySearch.SearchAll otherwise -1.

ScoreProperty
# Score
C#
public int Score { get; set; }

Match score determined by FuzzySearch. Scores are not normalized and generally should not be directly compared between different queries.

TargetProperty
# Target
C#
public string Target { get; set; }

Target string which was matched against.

Methods7

GetMatchedSubstringsReckfell.Collections.Array<Vector2I>
# GetMatchedSubstrings
C#
public Reckfell.Collections.Array<Vector2I> GetMatchedSubstrings();

Returns each matched substring interval of FuzzySearchMatch.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.

Returns Reckfell.Collections.Array<Vector2I>
GetOriginalIndexint
# GetOriginalIndex
C#
public int GetOriginalIndex();
Returns int
GetScoreint
# GetScore
C#
public int GetScore();
Returns int
GetTargetstring
# GetTarget
C#
public string GetTarget();
Returns string
SetOriginalIndexvoid
# SetOriginalIndex
C#
public void SetOriginalIndex(int originalIndex);
Parameters
NameTypeDefault
originalIndexint—
SetScorevoid
# SetScore
C#
public void SetScore(int score);
Parameters
NameTypeDefault
scoreint—
SetTargetvoid
# SetTarget
C#
public void SetTarget(string target);
Parameters
NameTypeDefault
targetstring—
Reckfell Engine documentationBack to top ↑
QUICK LINKSGetting startedEntity hierarchyC# & .NET 10Scenes and prefabs
Reckfell guides and full API K
reckfellENGINE
RECKFELL ACCOUNT

Sign in

Sign in to your Reckfell account.

One account for the entire Reckfell platform.