C# 클래스 Assets.NodeEditor.Editor.NodeHandle

파일 보기 프로젝트 열기: Randehh/Unity-NodeEditor 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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