Module |
|
Header |
/Engine/Source/Editor/GraphEditor/Public/SNodePanel.h |
Include |
#include "SNodePanel.h" |
namespace ENodeZone
{
enum Type
{
TopLeft,
TopCenter,
TopRight,
Left,
Center,
Right,
BottomLeft,
BottomCenter,
BottomRight,
Count,
}
}
Name |
Description |
---|---|
TopLeft |
|
TopCenter |
|
TopRight |
|
Left |
|
Center |
|
Right |
|
BottomLeft |
|
BottomCenter |
|
BottomRight |
|
Count |
This class is designed to serve as the base class for a panel/canvas that contains interactive widgets which can be selected and moved around by the user. It also manages zooming and panning, allowing a larger virtual space to be used for the widget placement.
The user is responsible for creating widgets (which must be derived from SNode) and any custom drawing code desired. The other main restriction is that each SNode instance must have a unique UObject* associated with it.