Interface IGraphElementWidget
Inherited Members
Namespace: Unity.VisualScripting
Assembly: Unity.VisualScripting.Core.Editor.dll
Syntax
public interface IGraphElementWidget : IWidget, IDisposable
Properties
canAlignAndDistribute
Declaration
bool canAlignAndDistribute { get; }
Property Value
Type | Description |
---|---|
bool |
canDelete
Declaration
bool canDelete { get; }
Property Value
Type | Description |
---|---|
bool |
canDrag
Declaration
bool canDrag { get; }
Property Value
Type | Description |
---|---|
bool |
canResizeHorizontal
Declaration
bool canResizeHorizontal { get; }
Property Value
Type | Description |
---|---|
bool |
canResizeVertical
Declaration
bool canResizeVertical { get; }
Property Value
Type | Description |
---|---|
bool |
canSelect
Declaration
bool canSelect { get; }
Property Value
Type | Description |
---|---|
bool |
element
Declaration
IGraphElement element { get; }
Property Value
Type | Description |
---|---|
IGraphElement |
isDragging
Declaration
bool isDragging { get; }
Property Value
Type | Description |
---|---|
bool |
isResizing
Declaration
bool isResizing { get; }
Property Value
Type | Description |
---|---|
bool |
isSelected
Declaration
bool isSelected { get; }
Property Value
Type | Description |
---|---|
bool |
Methods
BeginDrag()
Declaration
void BeginDrag()
Delete()
Declaration
void Delete()
Drag(Vector2, Vector2)
Declaration
void Drag(Vector2 delta, Vector2 constraint)
Parameters
Type | Name | Description |
---|---|---|
Vector2 | delta | |
Vector2 | constraint |
EndDrag()
Declaration
void EndDrag()
ExpandCopyGroup(HashSet<IGraphElement>)
Declaration
void ExpandCopyGroup(HashSet<IGraphElement> group)
Parameters
Type | Name | Description |
---|---|---|
HashSet<IGraphElement> | group |
ExpandDeleteGroup(HashSet<IGraphElement>)
Declaration
void ExpandDeleteGroup(HashSet<IGraphElement> group)
Parameters
Type | Name | Description |
---|---|---|
HashSet<IGraphElement> | group |
ExpandDragGroup(HashSet<IGraphElement>)
Declaration
void ExpandDragGroup(HashSet<IGraphElement> group)
Parameters
Type | Name | Description |
---|---|---|
HashSet<IGraphElement> | group |
LockDragOrigin()
Declaration
void LockDragOrigin()