Class GraphGroupWidget
Inheritance
Inherited Members
Namespace: Unity.VisualScripting
Assembly: Unity.VisualScripting.Core.Editor.dll
Syntax
[Widget(typeof(GraphGroup))]
public class GraphGroupWidget : GraphElementWidget<ICanvas, GraphGroup>, IGraphElementWidget, IWidget, IDisposable
Constructors
GraphGroupWidget(ICanvas, GraphGroup)
Declaration
public GraphGroupWidget(ICanvas canvas, GraphGroup group)
Parameters
Type | Name | Description |
---|---|---|
ICanvas | canvas | |
Graph |
group |
Properties
canAlignAndDistribute
Declaration
public override bool canAlignAndDistribute { get; }
Property Value
Type | Description |
---|---|
bool |
Overrides
canDelete
Declaration
public override bool canDelete { get; }
Property Value
Type | Description |
---|---|
bool |
Overrides
canDrag
Declaration
public override bool canDrag { get; }
Property Value
Type | Description |
---|---|
bool |
Overrides
canResizeHorizontal
Declaration
public override bool canResizeHorizontal { get; }
Property Value
Type | Description |
---|---|
bool |
Overrides
canResizeVertical
Declaration
public override bool canResizeVertical { get; }
Property Value
Type | Description |
---|---|
bool |
Overrides
canSelect
Declaration
public override bool canSelect { get; }
Property Value
Type | Description |
---|---|
bool |
Overrides
foregroundRequiresInput
Declaration
public override bool foregroundRequiresInput { get; }
Property Value
Type | Description |
---|---|
bool |
Overrides
hotArea
Declaration
public override Rect hotArea { get; }
Property Value
Type | Description |
---|---|
Rect |
Overrides
labelPosition
Declaration
public Rect labelPosition { get; }
Property Value
Type | Description |
---|---|
Rect |
position
Declaration
public override Rect position { get; set; }
Property Value
Type | Description |
---|---|
Rect |
Overrides
snapToGrid
Declaration
protected override bool snapToGrid { get; }
Property Value
Type | Description |
---|---|
bool |
Overrides
zIndex
Declaration
public override float zIndex { get; set; }
Property Value
Type | Description |
---|---|
float |
Overrides
Methods
CacheItem()
Declaration
public override void CacheItem()
Overrides
CachePosition()
Declaration
public override void CachePosition()
Overrides
DrawBackground()
Declaration
public override void DrawBackground()
Overrides
DrawForeground()
Declaration
public override void DrawForeground()
Overrides
ExpandDragGroup(HashSet<IGraphElement>)
Declaration
public override void ExpandDragGroup(HashSet<IGraphElement> dragGroup)
Parameters
Type | Name | Description |
---|---|---|
Hash |
dragGroup |
Overrides
FocusLabel()
Declaration
public void FocusLabel()
OnDoubleClick()
Declaration
protected override void OnDoubleClick()
Overrides
OnViewportChange()
Declaration
public override void OnViewportChange()