CriWare Unreal Engine
Plug-ins for CriWare solutions.
読み取り中…
検索中…
一致する文字列を見つけられません
UAtomRackGraph クラス

#include <AtomRackGraph.h>

UAtomRackGraph の継承関係図

公開メンバ関数

 UAtomRackGraph (const FObjectInitializer &ObjectInitializer)
void AddDroppedAtomRacks (const TSet< UAtomRackBase * > &AtomRacks, int32 NodePosX, int32 NodePosY)
CRIWARECOREEDITOR_API void AddNewAtomRack (UEdGraphPin *FromPin, UAtomRackBase *AtomRack, int32 NodePosX, int32 NodePosY, bool bSelectNewNode=true)
CRIWARECOREEDITOR_API UAtomRackGraphNodeFindExistingNode (UAtomRackBase *AtomRack) const
UAtomRackBaseGetRootAtomRack () const
bool IsRackDisplayed (UAtomRackBase *AtomRack) const
void LinkAtomRacks ()
CRIWARECOREEDITOR_API void RebuildGraph ()
CRIWARECOREEDITOR_API void RecursivelyRemoveNodes (const TSet< UObject * > NodesToRemove)
CRIWARECOREEDITOR_API void RefreshGraphLinks ()
CRIWARECOREEDITOR_API void SetRootAtomRack (UAtomRackBase *InAtomRack)

非公開メンバ関数

int32 ConstructNodes (UAtomRackBase *AtomRack, int32 NodePosX, int32 NodePosY, bool bSelectNewNode=true)
UAtomRackGraphNodeCreateNode (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 ()

非公開変数類

TObjectPtr< UAtomRackBaseRootAtomRack = nullptr
TArray< TObjectPtr< UAtomRackBase > > StaleRoots

構築子と解体子

◆ 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

引数
AtomRacksAtomRacks not already represented on the graph
NodePosXX coordinate rack(s) were dropped at
NodePosYY 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

引数
FromPinThe Pin that was dragged from to create the AtomRack (may be null)
AtomRackThe newly created AtomRack
NodePosXX coordinate new rack was created at
NodePosYY coordinate new rack was created at
bSelectNewNodeWhether 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

引数
AtomRackThe AtomRack to represent
NodePosXX coordinate to place first node at
NodePosYY coordinate to place first node at
bSelectNewNodeWhether or not to select the new node being created
戻り値
Total height of all constructed nodes (used to arrange multiple new nodes)

◆ CreateNode()

UAtomRackGraphNode * UAtomRackGraph::CreateNode ( UAtomRackBase * AtomRack,
int32 NodePosX,
int32 NodePosY,
bool bSelectNewNode = true )
private

Create a new node to represent a AtomRack

引数
AtomRackThe AtomRack to represent
NodePosXX coordinate to place node at
NodePosYY coordinate to place node at
bSelectNewNodeWhether or not to select the new node being created
戻り値
Either a new node or an existing node representing the class

◆ FindExistingNode()

UAtomRackGraphNode * UAtomRackGraph::FindExistingNode ( UAtomRackBase * AtomRack) const

Find an existing node that represents a given AtomRack

◆ GetRootAtomRack()

UAtomRackBase * UAtomRackGraph::GetRootAtomRack ( ) const

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

引数
ParentNodeThe Node we are constructing children for
InChildCountsMap of child counts
bSelectNewNodeWhether 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

引数
ParentRackThe AtomRack we are getting child counts for
OutChildCountsMap of child counts
戻り値
Total child count for ParentClass

◆ RecursivelyRemoveNode()

void UAtomRackGraph::RecursivelyRemoveNode ( UAtomRackGraphNode * ParentNode)
private

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

TObjectPtr<UAtomRackBase> UAtomRackGraph::RootAtomRack = nullptr
private

AtomRack which forms the root of this graph

◆ StaleRoots

TArray<TObjectPtr<UAtomRackBase> > UAtomRackGraph::StaleRoots
private

このクラス詳解は次のファイルから抽出されました:
  • 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