Interface IGraphElementWidget
Inherited Members
Namespace: Unity.VisualScripting
Syntax
public interface IGraphElementWidget : IWidget, IDisposable
Properties
canAlignAndDistribute
Declaration
bool canAlignAndDistribute { get; }
Property Value
Type | Description |
---|---|
Boolean |
canDelete
Declaration
bool canDelete { get; }
Property Value
Type | Description |
---|---|
Boolean |
canDrag
Declaration
bool canDrag { get; }
Property Value
Type | Description |
---|---|
Boolean |
canResizeHorizontal
Declaration
bool canResizeHorizontal { get; }
Property Value
Type | Description |
---|---|
Boolean |
canResizeVertical
Declaration
bool canResizeVertical { get; }
Property Value
Type | Description |
---|---|
Boolean |
canSelect
Declaration
bool canSelect { get; }
Property Value
Type | Description |
---|---|
Boolean |
element
Declaration
IGraphElement element { get; }
Property Value
Type | Description |
---|---|
IGraphElement |
isDragging
Declaration
bool isDragging { get; }
Property Value
Type | Description |
---|---|
Boolean |
isResizing
Declaration
bool isResizing { get; }
Property Value
Type | Description |
---|---|
Boolean |
isSelected
Declaration
bool isSelected { get; }
Property Value
Type | Description |
---|---|
Boolean |
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()