Version: Unity 6.3 Beta (6000.3)
LanguageEnglish
  • C#

FilterFunction

struct in UnityEngine.UIElements

/

Implemented in:UnityEngine.UIElementsModule

Suggest a change

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.

Close

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.

Close

Cancel

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