MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / Push

Method Push

Source/Editor/History/HistoryStack.cs:109–113  ·  view source on GitHub ↗

Adds new history element at top of history stack, and drops reverse stack Item to add

(IHistoryAction item)

Source from the content-addressed store, hash-verified

107 /// </summary>
108 /// <param name="item">Item to add</param>
109 public void Push(IHistoryAction item)
110 {
111 _historyActions.PushFront(item);
112 ClearReverse();
113 }
114
115 /// <summary>
116 /// Gets top-most item in history stack

Callers 15

OpenContextMethod · 0.45
SetLayersMethod · 0.45
DepthFirstTraversalMethod · 0.45
OrderTokensMethod · 0.45
EvaluateRPNMethod · 0.45
GetEntriesMethod · 0.45
GetMembersMethod · 0.45
RecordEndMethod · 0.45
RecordMultiEndMethod · 0.45
AddActionMethod · 0.45
OnGroupsBeginMethod · 0.45

Calls 1

PushFrontMethod · 0.45

Tested by

no test coverage detected