Class FilterWindow
An utility window used to list and filter a set of elements, as seen in the inspector when clicking on the "Add Component" button.
Inherited Members
UnityEditor.EditorWindow.ShowTab()
UnityEditor.EditorWindow.GetWindow<T>()
UnityEditor.EditorWindow.GetWindow<T>(System.Boolean)
UnityEditor.EditorWindow.GetWindow<T>(System.Boolean, System.String)
UnityEditor.EditorWindow.GetWindow<T>(System.String)
UnityEditor.EditorWindow.GetWindow<T>(System.String, System.Boolean)
UnityEditor.EditorWindow.GetWindow<T>(System.Boolean, System.String, System.Boolean)
UnityEditor.EditorWindow.GetWindow<T>(System.Type[])
UnityEditor.EditorWindow.GetWindow<T>(System.String, System.Type[])
UnityEditor.EditorWindow.GetWindow<T>(System.String, System.Boolean, System.Type[])
UnityEditor.EditorWindow.CreateWindow<T>(System.Type[])
UnityEditor.EditorWindow.CreateWindow<T>(System.String, System.Type[])
UnityEditor.EditorWindow.HasOpenInstances<T>()
UnityEditor.EditorWindow.FocusWindowIfItsOpen<T>()
UnityEditor.EditorWindow.GetWindowWithRect<T>(UnityEngine.Rect)
UnityEditor.EditorWindow.GetWindowWithRect<T>(UnityEngine.Rect, System.Boolean)
UnityEditor.EditorWindow.GetWindowWithRect<T>(UnityEngine.Rect, System.Boolean, System.String)
UnityEditor.EditorWindow.GetWindowWithRect<T>(UnityEngine.Rect, System.Boolean, System.String, System.Boolean)
UnityEditor.EditorWindow.TryGetOverlay(System.String, UnityEditor.Overlays.Overlay)
UnityEditor.EditorWindow.depthBufferBits
UnityEditor.EditorWindow.antiAlias
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
Namespace: UnityEditor.Rendering
Syntax
[InitializeOnLoad]
public class FilterWindow : EditorWindow
Fields
DefaultHeight
The default height for the window.
Declaration
public static readonly float DefaultHeight
Field Value
Type | Description |
---|---|
Single |
DefaultWidth
The default width for the window.
Declaration
public static readonly float DefaultWidth
Field Value
Type | Description |
---|---|
Single |
Methods
Show(Vector2, FilterWindow.IProvider)
Shows the filter window using the given provider.
Declaration
public static bool Show(Vector2 position, FilterWindow.IProvider provider)
Parameters
Type | Name | Description |
---|---|---|
Vector2 | position | The position to show the filter window at. |
FilterWindow.IProvider | provider | The provider of items for the filter window. |
Returns
Type | Description |
---|---|
Boolean | Returns true if the window is shown, false otherwise. |