#include <AtomRackGraph.h>
|
| int32 | ConstructNodes (UAtomRackBase *AtomRack, int32 NodePosX, int32 NodePosY, bool bSelectNewNode=true) |
| UAtomRackGraphNode * | CreateNode (UAtomRackBase *AtomRack, int32 NodePosX, int32 NodePosY, bool bSelectNewNode=true) |
| int32 | RecursivelyConstructChildNodes (UAtomRackGraphNode *ParentNode, const TMap< UAtomRackBase *, int32 > &InChildCounts, bool bSelectNewNode=true) |
| int32 | RecursivelyGatherChildCounts (UAtomRackBase *ParentRack, TMap< UAtomRackBase *, int32 > &OutChildCounts) |
| void | RecursivelyRemoveNode (UAtomRackGraphNode *ParentNode) |
| void | RemoveAllNodes () |
◆ UAtomRackGraph()
| UAtomRackGraph::UAtomRackGraph |
( |
const FObjectInitializer & | ObjectInitializer | ) |
|
◆ AddDroppedAtomRacks()
| void UAtomRackGraph::AddDroppedAtomRacks |
( |
const TSet< UAtomRackBase * > & | AtomRacks, |
|
|
int32 | NodePosX, |
|
|
int32 | NodePosY ) |
Display AtomRacks (and all of their children) that have been dragged onto the editor
- 引数
-
| AtomRacks | AtomRacks not already represented on the graph |
| NodePosX | X coordinate rack(s) were dropped at |
| NodePosY | Y coordinate rack(s) were dropped at |
◆ AddNewAtomRack()
| void UAtomRackGraph::AddNewAtomRack |
( |
UEdGraphPin * | FromPin, |
|
|
UAtomRackBase * | AtomRack, |
|
|
int32 | NodePosX, |
|
|
int32 | NodePosY, |
|
|
bool | bSelectNewNode = true ) |
Display a new AtomRack that has just been created using the editor
- 引数
-
| FromPin | The Pin that was dragged from to create the AtomRack (may be null) |
| AtomRack | The newly created AtomRack |
| NodePosX | X coordinate new rack was created at |
| NodePosY | Y coordinate new rack was created at |
| bSelectNewNode | Whether or not to select the new node being created |
◆ ConstructNodes()
| int32 UAtomRackGraph::ConstructNodes |
( |
UAtomRackBase * | AtomRack, |
|
|
int32 | NodePosX, |
|
|
int32 | NodePosY, |
|
|
bool | bSelectNewNode = true ) |
|
private |
Construct Nodes to represent a AtomRack and all of its children
- 引数
-
| AtomRack | The AtomRack to represent |
| NodePosX | X coordinate to place first node at |
| NodePosY | Y coordinate to place first node at |
| bSelectNewNode | Whether or not to select the new node being created |
- 戻り値
- Total height of all constructed nodes (used to arrange multiple new nodes)
◆ CreateNode()
Create a new node to represent a AtomRack
- 引数
-
| AtomRack | The AtomRack to represent |
| NodePosX | X coordinate to place node at |
| NodePosY | Y coordinate to place node at |
| bSelectNewNode | Whether or not to select the new node being created |
- 戻り値
- Either a new node or an existing node representing the class
◆ FindExistingNode()
Find an existing node that represents a given AtomRack
◆ GetRootAtomRack()
Get the AtomRack which forms the root of this graph
◆ IsRackDisplayed()
| bool UAtomRackGraph::IsRackDisplayed |
( |
UAtomRackBase * | AtomRack | ) |
const |
Checks whether a AtomRack is already represented on this graph
◆ LinkAtomRacks()
| void UAtomRackGraph::LinkAtomRacks |
( |
| ) |
|
Use this graph to re-link all of the AtomRacks it represents after a change in linkage
◆ RebuildGraph()
| void UAtomRackGraph::RebuildGraph |
( |
| ) |
|
Completely rebuild the graph from the root, removing all old nodes
◆ RecursivelyConstructChildNodes()
| int32 UAtomRackGraph::RecursivelyConstructChildNodes |
( |
UAtomRackGraphNode * | ParentNode, |
|
|
const TMap< UAtomRackBase *, int32 > & | InChildCounts, |
|
|
bool | bSelectNewNode = true ) |
|
private |
Recursively Construct Nodes to represent the children of a AtomRack
- 引数
-
| ParentNode | The Node we are constructing children for |
| InChildCounts | Map of child counts |
| bSelectNewNode | Whether or not to select the new node being created |
- 戻り値
- Total height of constructed nodes (used to arrange next new node)
◆ RecursivelyGatherChildCounts()
| int32 UAtomRackGraph::RecursivelyGatherChildCounts |
( |
UAtomRackBase * | ParentRack, |
|
|
TMap< UAtomRackBase *, int32 > & | OutChildCounts ) |
|
private |
Recursively build a map of child counts for each AtomRack to arrange them correctly
- 引数
-
| ParentRack | The AtomRack we are getting child counts for |
| OutChildCounts | Map of child counts |
- 戻り値
- Total child count for ParentClass
◆ RecursivelyRemoveNode()
Recursively remove a node and its children from the graph
◆ RecursivelyRemoveNodes()
| void UAtomRackGraph::RecursivelyRemoveNodes |
( |
const TSet< UObject * > | NodesToRemove | ) |
|
Recursively remove a set of nodes from this graph and re-link AtomRacks afterwards
◆ RefreshGraphLinks()
| void UAtomRackGraph::RefreshGraphLinks |
( |
| ) |
|
Re-link all of the nodes in this graph after a change to AtomRack linkage
◆ RemoveAllNodes()
| void UAtomRackGraph::RemoveAllNodes |
( |
| ) |
|
|
private |
Remove all Nodes from the graph
◆ SetRootAtomRack()
| void UAtomRackGraph::SetRootAtomRack |
( |
UAtomRackBase * | InAtomRack | ) |
|
Set the AtomRack which forms the root of this graph
◆ RootAtomRack
AtomRack which forms the root of this graph
◆ StaleRoots
このクラス詳解は次のファイルから抽出されました:
- C:/git/Engine/Plugins/Runtime/CriWare/CriWare/Source/CriWareCoreEditor/Private/Graphs/AtomRackGraph.h
- C:/git/Engine/Plugins/Runtime/CriWare/CriWare/Source/CriWareCoreEditor/Private/Graphs/AtomRackGraph.cpp