Struct FilterStringConstraint
Define a string constraint used in the filters Actions
Inherited Members
Namespace: UnityEditor.PixyzPlugin4Unity.Actions
Assembly: Unity.Pixyz.Plugin4Unity.Editor.dll
Syntax
public struct FilterStringConstraint
Fields
Name | Description |
---|---|
caseSensitive | Specify if the comparison is case sensitive |
inputString | The string to use for comparison |
matchingMethod | The method used to compare string |
Properties
Name | Description |
---|---|
Invert | Readonly boolean to check if the constraint is negative (DoesNotContain, ...) |
Methods
Name | Description |
---|---|
GetConstraintValidation() | Check if the matching method condition is always met, never met or unknown |
IsMatch(string) | Check if the value matches the constraint |
UpdatePatternAndOptions() | Build the internal regex and options values based on the user inputs |