#include <AtomSoundClassGraph.h>
|
| int32 | ConstructNodes (class UAtomSoundClass *SoundClass, int32 NodePosX, int32 NodePosY, bool bSelectNewNode=true) |
| class UAtomSoundClassGraphNode * | CreateNode (class UAtomSoundClass *SoundClass, int32 NodePosX, int32 NodePosY, bool bSelectNewNode=true) |
| class UAtomSoundClassGraphNode * | FindExistingNode (class UAtomSoundClass *SoundClass) const |
| int32 | RecursivelyConstructChildNodes (class UAtomSoundClassGraphNode *ParentNode, const TMap< class UAtomSoundClass *, int32 > &InChildCounts, bool bSelectNewNode=true) |
| int32 | RecursivelyGatherChildCounts (class UAtomSoundClass *ParentClass, TMap< class UAtomSoundClass *, int32 > &OutChildCounts) |
| void | RecursivelyRemoveNode (class UAtomSoundClassGraphNode *ParentNode) |
| void | RemoveAllNodes () |
◆ UAtomSoundClassGraph()
| UAtomSoundClassGraph::UAtomSoundClassGraph |
( |
const FObjectInitializer & | ObjectInitializer | ) |
|
◆ AddDroppedSoundClasses()
| void UAtomSoundClassGraph::AddDroppedSoundClasses |
( |
const TArray< class UAtomSoundClass * > & | SoundClasses, |
|
|
int32 | NodePosX, |
|
|
int32 | NodePosY ) |
Display AtomSoundClasses (and all of their children) that have been dragged onto the editor
- 引数
-
| SoundClasses | AtomSoundClasses not already represented on the graph |
| NodePosX | X coordinate classes were dropped at |
| NodePosY | Y coordinate classes were dropped at |
◆ AddNewSoundClass()
| void UAtomSoundClassGraph::AddNewSoundClass |
( |
UEdGraphPin * | FromPin, |
|
|
class UAtomSoundClass * | SoundClass, |
|
|
int32 | NodePosX, |
|
|
int32 | NodePosY, |
|
|
bool | bSelectNewNode = true ) |
Display a new AtomSoundClass that has just been created using the editor
- 引数
-
| FromPin | The Pin that was dragged from to create the AtomSoundClass (may be NULL) |
| SoundClass | The newly created AtomSoundClass |
| NodePosX | X coordinate new class was created at |
| NodePosY | Y coordinate new class was created at |
| bSelectNewNode | Whether or not to select the new node being created |
◆ ConstructNodes()
| int32 UAtomSoundClassGraph::ConstructNodes |
( |
class UAtomSoundClass * | SoundClass, |
|
|
int32 | NodePosX, |
|
|
int32 | NodePosY, |
|
|
bool | bSelectNewNode = true ) |
|
private |
Construct Nodes to represent a AtomSoundClass and all of its children
- 引数
-
| SoundClass | The AtomSoundClass 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 AtomSoundClass
- 引数
-
| SoundClass | The AtomSoundClass 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 AtomSoundClass
◆ GetRootSoundClass()
Get the AtomSoundClass which forms the root of this graph
◆ IsClassDisplayed()
| bool UAtomSoundClassGraph::IsClassDisplayed |
( |
class UAtomSoundClass * | SoundClass | ) |
const |
Checks whether a AtomSoundClass is already represented on this graph
◆ LinkSoundClasses()
| void UAtomSoundClassGraph::LinkSoundClasses |
( |
| ) |
|
Use this graph to re-link all of the AtomSoundClasses it represents after a change in linkage
◆ RebuildGraph()
| void UAtomSoundClassGraph::RebuildGraph |
( |
| ) |
|
Completely rebuild the graph from the root, removing all old nodes
◆ RecursivelyConstructChildNodes()
| int32 UAtomSoundClassGraph::RecursivelyConstructChildNodes |
( |
class UAtomSoundClassGraphNode * | ParentNode, |
|
|
const TMap< class UAtomSoundClass *, int32 > & | InChildCounts, |
|
|
bool | bSelectNewNode = true ) |
|
private |
Recursively Construct Nodes to represent the children of a AtomSoundClass
- 引数
-
| 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 UAtomSoundClassGraph::RecursivelyGatherChildCounts |
( |
class UAtomSoundClass * | ParentClass, |
|
|
TMap< class UAtomSoundClass *, int32 > & | OutChildCounts ) |
|
private |
Recursively build a map of child counts for each AtomSoundClass to arrange them correctly
- 引数
-
| ParentClass | The class 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 UAtomSoundClassGraph::RecursivelyRemoveNodes |
( |
const TSet< class UObject * > | NodesToRemove | ) |
|
Recursively remove a set of nodes from this graph and re-link AtomSoundClasses afterwards
◆ RefreshGraphLinks()
| void UAtomSoundClassGraph::RefreshGraphLinks |
( |
| ) |
|
Re-link all of the nodes in this graph after a change to AtomSoundClass linkage
◆ RemoveAllNodes()
| void UAtomSoundClassGraph::RemoveAllNodes |
( |
| ) |
|
|
private |
Remove all Nodes from the graph
◆ SetRootSoundClass()
| void UAtomSoundClassGraph::SetRootSoundClass |
( |
class UAtomSoundClass * | InSoundClass | ) |
|
Set the AtomSoundClass which forms the root of this graph
◆ RootSoundClass
SoundClass which forms the root of this graph
このクラス詳解は次のファイルから抽出されました: