Interface IWidget
Namespace: Unity.VisualScripting
Syntax
public interface IWidget : IDisposable
Properties
backgroundRequiresInput
Declaration
bool backgroundRequiresInput { get; }
Property Value
| Type | Description |
|---|---|
| Boolean |
canClip
Declaration
bool canClip { get; }
Property Value
| Type | Description |
|---|---|
| Boolean |
canvas
Declaration
ICanvas canvas { get; }
Property Value
| Type | Description |
|---|---|
| ICanvas |
clippingPosition
Declaration
Rect clippingPosition { get; }
Property Value
| Type | Description |
|---|---|
| Rect |
foregroundRequiresInput
Declaration
bool foregroundRequiresInput { get; }
Property Value
| Type | Description |
|---|---|
| Boolean |
hotArea
Declaration
Rect hotArea { get; }
Property Value
| Type | Description |
|---|---|
| Rect |
isMouseOver
Declaration
bool isMouseOver { get; }
Property Value
| Type | Description |
|---|---|
| Boolean |
isMouseThrough
Declaration
bool isMouseThrough { get; }
Property Value
| Type | Description |
|---|---|
| Boolean |
isPositionValid
Declaration
bool isPositionValid { get; set; }
Property Value
| Type | Description |
|---|---|
| Boolean |
isVisible
Declaration
bool isVisible { get; set; }
Property Value
| Type | Description |
|---|---|
| Boolean |
item
Declaration
IGraphItem item { get; }
Property Value
| Type | Description |
|---|---|
| IGraphItem |
metadata
Declaration
Metadata metadata { get; }
Property Value
| Type | Description |
|---|---|
| Metadata |
overlayRequiresInput
Declaration
bool overlayRequiresInput { get; }
Property Value
| Type | Description |
|---|---|
| Boolean |
position
Declaration
Rect position { get; set; }
Property Value
| Type | Description |
|---|---|
| Rect |
positionDependencies
Declaration
IEnumerable<IWidget> positionDependencies { get; }
Property Value
| Type | Description |
|---|---|
| IEnumerable<IWidget> |
positionDependers
Declaration
IEnumerable<IWidget> positionDependers { get; }
Property Value
| Type | Description |
|---|---|
| IEnumerable<IWidget> |
subWidgets
Declaration
IEnumerable<IWidget> subWidgets { get; }
Property Value
| Type | Description |
|---|---|
| IEnumerable<IWidget> |
zIndex
Declaration
float zIndex { get; set; }
Property Value
| Type | Description |
|---|---|
| Single |
Methods
BeforeFrame()
Declaration
void BeforeFrame()
BringToFront()
Declaration
void BringToFront()
CacheItem()
Declaration
void CacheItem()
CachePosition()
Declaration
void CachePosition()
CachePositionFirstPass()
Declaration
void CachePositionFirstPass()
DrawBackground()
Declaration
void DrawBackground()
DrawForeground()
Declaration
void DrawForeground()
DrawOverlay()
Declaration
void DrawOverlay()
HandleCapture()
Declaration
void HandleCapture()
HandleInput()
Declaration
void HandleInput()
HandleRelease()
Declaration
void HandleRelease()
OnViewportChange()
Declaration
void OnViewportChange()
RegisterControl()
Declaration
void RegisterControl()
Reposition()
Declaration
void Reposition()
SendToBack()
Declaration
void SendToBack()
Update()
Declaration
void Update()