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
EditorWindow.focusedWindowChanged
EditorWindow.GetWindow<T>()
EditorWindow.HasOpenInstances<T>()
EditorWindow.FocusWindowIfItsOpen<T>()
EditorWindow.GetWindowWithRect<T>(Rect)
EditorWindow.depthBufferBits
EditorWindow.antiAlias
EditorWindow.windowFocusChanged
ScriptableObject.SetDirty()
ScriptableObject.CreateInstance<T>()
Object.GetHashCode()
Object.InstantiateAsync<T>(T)
Object.InstantiateAsync<T>(T, Transform)
Object.InstantiateAsync<T>(T, Vector3, Quaternion)
Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
Object.Instantiate<T>(T)
Object.Instantiate<T>(T, Vector3, Quaternion)
Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
Object.Instantiate<T>(T, Transform)
Object.DestroyObject(Object)
Object.FindObjectsOfType<T>()
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindObjectOfType<T>()
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: UnityEditor.Rendering
Assembly: Unity.RenderPipelines.Core.Editor.dll
Syntax
[InitializeOnLoad]
public class FilterWindow : EditorWindow
Fields
DefaultHeight
The default height for the window.
Declaration
public static readonly float DefaultHeight
Field Value
Type | Description |
---|---|
float |
DefaultWidth
The default width for the window.
Declaration
public static readonly float DefaultWidth
Field Value
Type | Description |
---|---|
float |
Methods
Show(Vector2, 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 |
---|---|
bool | Returns true if the window is shown, false otherwise. |