Class ActorTreeNode
Tree node GUI control used as a proxy object for actors hierarchy.
Implements
System.IComparable
Namespace: FlaxEditor.SceneGraph.GUI
Assembly: FlaxEngine.CSharp.dll
Syntax
public class ActorTreeNode : TreeNode, IComparable, IDrawable
Constructors
ActorTreeNode()
Fields
_actorNode
The actor node that owns this node.
Declaration
protected ActorNode _actorNode
Field Value
FlaxEditor.SceneGraph.ActorNode
|
Properties
Actor
ActorNode
Gets the actor node.
Declaration
public ActorNode ActorNode { get; }
Property Value
FlaxEditor.SceneGraph.ActorNode
|
ShowTooltip
Gets a value indicating whether show control tooltip (control is in a proper state, tooltip text is valid, etc.). Can be used to implement custom conditions for showing tooltips (eg. based on current mouse location within the control bounds).
Declaration
protected override bool ShowTooltip { get; }
Property Value
System.Boolean
|
Overrides
Remarks
Tooltip can be only visible if mouse is over the control area (see IsMouseOver).
Methods
CacheTextColor()
Declaration
protected override Color CacheTextColor()
Returns
Color
|
Overrides
FlaxEditor.GUI.Tree.TreeNode.CacheTextColor()
Compare(Control)
Declaration
public override int Compare(Control other)
Parameters
Control
other
|
Returns
System.Int32
|
Overrides
FlaxEditor.GUI.Tree.TreeNode.Compare(FlaxEngine.GUI.Control)
DoDragDrop()
Declaration
protected override void DoDragDrop()
Overrides
FlaxEditor.GUI.Tree.TreeNode.DoDragDrop()
Draw()
Declaration
public override void Draw()
Overrides
FlaxEditor.GUI.Tree.TreeNode.Draw()
OnDestroy()
Declaration
public override void OnDestroy()
Overrides
FlaxEditor.GUI.Tree.TreeNode.OnDestroy()
OnDragDropHeader(DragData)
Declaration
protected override DragDropEffect OnDragDropHeader(DragData data)
Parameters
DragData
data
|
Returns
DragDropEffect
|
Overrides
FlaxEditor.GUI.Tree.TreeNode.OnDragDropHeader(FlaxEngine.GUI.DragData)
OnDragEnterHeader(DragData)
Declaration
protected override DragDropEffect OnDragEnterHeader(DragData data)
Parameters
DragData
data
|
Returns
DragDropEffect
|
Overrides
FlaxEditor.GUI.Tree.TreeNode.OnDragEnterHeader(FlaxEngine.GUI.DragData)
OnDragLeaveHeader()
Declaration
protected override void OnDragLeaveHeader()
Overrides
FlaxEditor.GUI.Tree.TreeNode.OnDragLeaveHeader()
OnDragMoveHeader(DragData)
Declaration
protected override DragDropEffect OnDragMoveHeader(DragData data)
Parameters
DragData
data
|
Returns
DragDropEffect
|
Overrides
FlaxEditor.GUI.Tree.TreeNode.OnDragMoveHeader(FlaxEngine.GUI.DragData)
OnExpandedChanged()
Declaration
protected override void OnExpandedChanged()
Overrides
FlaxEditor.GUI.Tree.TreeNode.OnExpandedChanged()
OnShowTooltip(out String, out Float2, out Rectangle)
Declaration
public override bool OnShowTooltip(out string text, out Float2 location, out Rectangle area)
Parameters
System.String
text
|
Float2
location
|
Rectangle
area
|
Returns
System.Boolean
|
Overrides
FlaxEditor.GUI.Tree.TreeNode.OnShowTooltip(System.String, FlaxEngine.Float2, FlaxEngine.Rectangle)
StartRenaming(EditorWindow, Panel)
Starts the actor renaming action.
Declaration
public void StartRenaming(EditorWindow window, Panel treePanel = null)
Parameters
EditorWindow
window
|
Panel
treePanel
|
Update(Single)
Declaration
public override void Update(float deltaTime)
Parameters
System.Single
deltaTime
|
Overrides
FlaxEditor.GUI.Tree.TreeNode.Update(System.Single)
UpdateFilter(String)
Updates the query search filter.
Declaration
public void UpdateFilter(string filterText)
Parameters
System.String
filterText
The filter text. |
UpdateText()
Updates the tree node text.
Declaration
public virtual void UpdateText()
Extension Methods
See Also
FlaxEditor.GUI.Tree.TreeNode