FilterFunction
Represents a filter function that holds the definition and parameters of a filter.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Struct
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
- Implements: IEquatable<FilterFunction>
public struct FilterFunction : IEquatable<FilterFunction>
Constructors
Constructor | Description |
|---|---|
| FilterFunction(UnityEngine.UIElements.FilterFunctionDefinition) | Initializes a new custom filter function with the specified FilterFunctionDefinition. |
| FilterFunction(UnityEngine.UIElements.FilterFunctionType) | Initializes a new filter function with the specified FilterFunctionType. |
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. |
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. |