C# Class Assets.NodeEditor.Editor.NodeHandle

Afficher le fichier Open project: Randehh/Unity-NodeEditor Class Usage Examples

Méthodes publiques

Свойство Type Description
attachedTo Rondo.NodeEditor.Base.BaseNode
rect UnityEngine.Rect

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
CalculatePosition ( ) : void

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

Method Details

DrawHandle() public méthode

Draw the handle
public DrawHandle ( ) : void
Résultat void

Move() public méthode

Change where the handle is drawn
public Move ( Vector2 mousePos ) : void
mousePos Vector2
Résultat void

NodeHandle() public méthode

A node handle to which connections attach
public NodeHandle ( BaseNode attachedTo, HandleOrientation startingOrientation ) : Rondo.NodeEditor.Base
attachedTo Rondo.NodeEditor.Base.BaseNode
startingOrientation HandleOrientation
Résultat Rondo.NodeEditor.Base

Property Details

attachedTo public_oe property

public BaseNode,Rondo.NodeEditor.Base attachedTo
Résultat Rondo.NodeEditor.Base.BaseNode

rect public_oe property

public Rect,UnityEngine rect
Résultat UnityEngine.Rect