Class GraphGroupWidget
Inheritance
GraphGroupWidget
Inherited Members
Namespace: Unity.VisualScripting
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 | |
GraphGroup | group |
Properties
canAlignAndDistribute
Declaration
public override bool canAlignAndDistribute { get; }
Property Value
Type | Description |
---|---|
Boolean |
Overrides
Unity.VisualScripting.GraphElementWidget<Unity.VisualScripting.ICanvas, Unity.VisualScripting.GraphGroup>.canAlignAndDistribute
canDelete
Declaration
public override bool canDelete { get; }
Property Value
Type | Description |
---|---|
Boolean |
Overrides
Unity.VisualScripting.GraphElementWidget<Unity.VisualScripting.ICanvas, Unity.VisualScripting.GraphGroup>.canDelete
canDrag
Declaration
public override bool canDrag { get; }
Property Value
Type | Description |
---|---|
Boolean |
Overrides
Unity.VisualScripting.GraphElementWidget<Unity.VisualScripting.ICanvas, Unity.VisualScripting.GraphGroup>.canDrag
canResizeHorizontal
Declaration
public override bool canResizeHorizontal { get; }
Property Value
Type | Description |
---|---|
Boolean |
Overrides
Unity.VisualScripting.GraphElementWidget<Unity.VisualScripting.ICanvas, Unity.VisualScripting.GraphGroup>.canResizeHorizontal
canResizeVertical
Declaration
public override bool canResizeVertical { get; }
Property Value
Type | Description |
---|---|
Boolean |
Overrides
Unity.VisualScripting.GraphElementWidget<Unity.VisualScripting.ICanvas, Unity.VisualScripting.GraphGroup>.canResizeVertical
canSelect
Declaration
public override bool canSelect { get; }
Property Value
Type | Description |
---|---|
Boolean |
Overrides
Unity.VisualScripting.GraphElementWidget<Unity.VisualScripting.ICanvas, Unity.VisualScripting.GraphGroup>.canSelect
foregroundRequiresInput
Declaration
public override bool foregroundRequiresInput { get; }
Property Value
Type | Description |
---|---|
Boolean |
Overrides
Unity.VisualScripting.Widget<Unity.VisualScripting.ICanvas, Unity.VisualScripting.GraphGroup>.foregroundRequiresInput
hotArea
Declaration
public override Rect hotArea { get; }
Property Value
Type | Description |
---|---|
Rect |
Overrides
Unity.VisualScripting.Widget<Unity.VisualScripting.ICanvas, Unity.VisualScripting.GraphGroup>.hotArea
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
Unity.VisualScripting.Widget<Unity.VisualScripting.ICanvas, Unity.VisualScripting.GraphGroup>.position
snapToGrid
Declaration
protected override bool snapToGrid { get; }
Property Value
Type | Description |
---|---|
Boolean |
Overrides
Unity.VisualScripting.Widget<Unity.VisualScripting.ICanvas, Unity.VisualScripting.GraphGroup>.snapToGrid
zIndex
Declaration
public override float zIndex { get; set; }
Property Value
Type | Description |
---|---|
Single |
Overrides
Unity.VisualScripting.GraphElementWidget<Unity.VisualScripting.ICanvas, Unity.VisualScripting.GraphGroup>.zIndex
Methods
CacheItem()
Declaration
public override void CacheItem()
Overrides
Unity.VisualScripting.Widget<Unity.VisualScripting.ICanvas, Unity.VisualScripting.GraphGroup>.CacheItem()
CachePosition()
Declaration
public override void CachePosition()
Overrides
Unity.VisualScripting.Widget<Unity.VisualScripting.ICanvas, Unity.VisualScripting.GraphGroup>.CachePosition()
DrawBackground()
Declaration
public override void DrawBackground()
Overrides
Unity.VisualScripting.Widget<Unity.VisualScripting.ICanvas, Unity.VisualScripting.GraphGroup>.DrawBackground()
DrawForeground()
Declaration
public override void DrawForeground()
Overrides
Unity.VisualScripting.Widget<Unity.VisualScripting.ICanvas, Unity.VisualScripting.GraphGroup>.DrawForeground()
ExpandDragGroup(HashSet<IGraphElement>)
Declaration
public override void ExpandDragGroup(HashSet<IGraphElement> dragGroup)
Parameters
Type | Name | Description |
---|---|---|
HashSet<IGraphElement> | dragGroup |
Overrides
Unity.VisualScripting.GraphElementWidget<Unity.VisualScripting.ICanvas, Unity.VisualScripting.GraphGroup>.ExpandDragGroup(System.Collections.Generic.HashSet<Unity.VisualScripting.IGraphElement>)
FocusLabel()
Declaration
public void FocusLabel()
OnDoubleClick()
Declaration
protected override void OnDoubleClick()
Overrides
Unity.VisualScripting.GraphElementWidget<Unity.VisualScripting.ICanvas, Unity.VisualScripting.GraphGroup>.OnDoubleClick()
OnViewportChange()
Declaration
public override void OnViewportChange()
Overrides
Unity.VisualScripting.Widget<Unity.VisualScripting.ICanvas, Unity.VisualScripting.GraphGroup>.OnViewportChange()