Class FilterStringNumberConstraint
Define a string constraint used in the filters Actions
Inherited Members
Namespace: UnityEditor.PixyzPlugin4Unity.Actions
Assembly: Unity.Pixyz.Plugin4Unity.Editor.dll
Syntax
public class FilterStringNumberConstraint
Constructors
Name | Description |
---|---|
FilterStringNumberConstraint() | Default constructor |
Fields
Name | Description |
---|---|
caseSensitive | Specify if the comparison is case sensitive |
matchingMethod | The method used to compare string or number |
value | The string to use for comparison |
Properties
Name | Description |
---|---|
Invert | Readonly boolean to check if the constraint is negative (DoesNotContain, ...) |
Methods
Name | Description |
---|---|
GetCaseSensitive() | Is case sensitive |
GetConstraintValidation() | Check if the matching method condition is always met, never met or unknown |
GetInputString() | Get the input string |
GetMatchingMethod() | Get matching method |
IsMatch(string) | Check if the value matches the constraint |
SetCaseSensitive(bool) | Set the case sensitivity |
SetInputString(string) | Set the input string |
SetMatchingMethod(Enum) | Set the matching method |
ShowCaseSensitive() | Defines if the case sensitivity toggle is shown |
ShowInputString() | Defines if the input string is shown |
UpdatePatternAndOptions() | Build the internal regex and options values based on the user inputs |