Class SceneObjectSearchPopup
Popup that shows the list of scene objects to pick. Supports searching and basic type filtering.
Inheritance
System.Object
FlaxEditor.GUI.ContextMenu.ContextMenuBase
SceneObjectSearchPopup
Implements
System.IComparable
Namespace: FlaxEditor.GUI
Assembly: FlaxEngine.CSharp.dll
Syntax
public class SceneObjectSearchPopup : ItemsListContextMenu, IComparable, IDrawable
Methods
OnDestroy()
Declaration
public override void OnDestroy()
Overrides
FlaxEditor.GUI.ContextMenu.ContextMenuBase.OnDestroy()
Show(Control, Float2, SceneObjectSearchPopup.IsValidDelegate, Action<SceneObject>, IPresenterOwner)
Shows the popup.
Declaration
public static SceneObjectSearchPopup Show(Control showTarget, Float2 showTargetLocation, SceneObjectSearchPopup.IsValidDelegate isValid, Action<SceneObject> selected, IPresenterOwner context)
Parameters
|
Control
showTarget
The show target. |
|
Float2
showTargetLocation
The show target location. |
|
SceneObjectSearchPopup.IsValidDelegate
isValid
Event called to check if a given scene object item is valid to be used. |
|
System.Action<SceneObject>
selected
Event called on scene object item pick. |
|
IPresenterOwner
context
The presenter owner context (i.e. PrefabWindow, PropertiesWindow). |
Returns
|
SceneObjectSearchPopup
The dialog. |