C# Класс Assets.NodeEditor.Editor.NodeHandle

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
attachedTo Rondo.NodeEditor.Base.BaseNode
rect UnityEngine.Rect

Открытые методы

Метод Описание
DrawHandle ( ) : void

Draw the handle

Move ( Vector2 mousePos ) : void

Change where the handle is drawn

NodeHandle ( BaseNode attachedTo, HandleOrientation startingOrientation ) : Rondo.NodeEditor.Base

A node handle to which connections attach

Приватные методы

Метод Описание
CalculatePosition ( ) : void

Calculate the new offset position of the handle depending on the orientation and offset

Описание методов

DrawHandle() публичный Метод

Draw the handle
public DrawHandle ( ) : void
Результат void

Move() публичный Метод

Change where the handle is drawn
public Move ( Vector2 mousePos ) : void
mousePos Vector2
Результат void

NodeHandle() публичный Метод

A node handle to which connections attach
public NodeHandle ( BaseNode attachedTo, HandleOrientation startingOrientation ) : Rondo.NodeEditor.Base
attachedTo Rondo.NodeEditor.Base.BaseNode
startingOrientation HandleOrientation
Результат Rondo.NodeEditor.Base

Описание свойств

attachedTo публичное свойство

public BaseNode,Rondo.NodeEditor.Base attachedTo
Результат Rondo.NodeEditor.Base.BaseNode

rect публичное свойство

public Rect,UnityEngine rect
Результат UnityEngine.Rect