Class SelectionChangeAction
Objects selection change action.
Namespace: FlaxEditor
Assembly: FlaxEngine.CSharp.dll
Syntax
public class SelectionChangeAction : UndoActionBase<SelectionChangeAction.DataStorage>, IUndoAction, IHistoryAction
Constructors
SelectionChangeAction(SceneGraphNode[], SceneGraphNode[], Action<SceneGraphNode[]>)
User selection has changed
Declaration
public SelectionChangeAction(SceneGraphNode[] before, SceneGraphNode[] after, Action<SceneGraphNode[]> callback)
Parameters
FlaxEditor.SceneGraph.SceneGraphNode[]
before
Previously selected nodes |
FlaxEditor.SceneGraph.SceneGraphNode[]
after
Newly selected nodes |
System.Action<FlaxEditor.SceneGraph.SceneGraphNode[]>
callback
Selection change callback |
Properties
ActionString
Name or key of performed action
Declaration
public override string ActionString { get; }
Property Value
System.String
|
Overrides
FlaxEditor.UndoActionBase<FlaxEditor.SelectionChangeAction.DataStorage>.ActionString
Methods
Do()
Performs this action.
Declaration
public override void Do()
Overrides
FlaxEditor.UndoActionBase<FlaxEditor.SelectionChangeAction.DataStorage>.Do()
Undo()
Undoes this action.
Declaration
public override void Undo()
Overrides
FlaxEditor.UndoActionBase<FlaxEditor.SelectionChangeAction.DataStorage>.Undo()