Unity - Scripting API: FilterFunction
struct in UnityEngine.UIElements
/
Implemented in:UnityEngine.UIElementsModule
Success!
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
Submission failed
For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
Description
Represents a filter function that holds the definition and parameters of a filter.
Properties
| Property | Description |
|---|---|
| customDefinition | The custom filter function definition, when the filter function type is FilterFunctionType.Custom. |
| parameterCount | The number of parameters in the filter function. |
| type | The type of the filter function. |
Constructors
| Constructor | Description |
|---|---|
| FilterFunction | Initializes a new filter function with the specified FilterFunctionType. |
Public Methods
| Method | Description |
|---|---|
| AddParameter | Adds a parameter to the filter function. |
| ClearParameters | Clears all parameters from the filter function. |
| GetParameter | Gets the parameter at the specified index. |
| SetParameter | Sets a parameter to the filter function at the provided index. |