Assets.NodeEditor.Editor.NodeHandle.NodeHandle C# (CSharp) Method

NodeHandle() public method

A node handle to which connections attach
public NodeHandle ( BaseNode attachedTo, HandleOrientation startingOrientation ) : Rondo.NodeEditor.Base
attachedTo Rondo.NodeEditor.Base.BaseNode
startingOrientation HandleOrientation
return Rondo.NodeEditor.Base
        public NodeHandle(BaseNode attachedTo, HandleOrientation startingOrientation) {
            handleTex = AssetDatabase.LoadAssetAtPath("Assets/NodeEditor/Editor/Images/Handle.png", typeof(Texture)) as Texture;

            this.attachedTo = attachedTo;
            this.orientation = startingOrientation;

            CalculatePosition();
        }