docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class FilterStringConstraint

    Define a string constraint used in the filters Actions

    Inheritance
    object
    FilterStringConstraint
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEditor.PixyzPlugin4Unity.Actions
    Assembly: Unity.Pixyz.Plugin4Unity.Editor.dll
    Syntax
    public class FilterStringConstraint

    Constructors

    Name Description
    FilterStringConstraint()

    Default constructor

    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
    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

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)