Sequine - Scripting API
Calcatz.CookieCutter.ConnectionPoint Class Reference
Inheritance diagram for Calcatz.CookieCutter.ConnectionPoint:
Calcatz.CookieCutter.MainConnectionPoint Calcatz.CookieCutter.PropertyConnectionPoint Calcatz.CookieCutter.BooleanConnectionPoint Calcatz.CookieCutter.FloatConnectionPoint Calcatz.CookieCutter.IntConnectionPoint Calcatz.CookieCutter.ObjectConnectionPoint Calcatz.CookieCutter.QuaternionConnectionPoint Calcatz.CookieCutter.StringConnectionPoint Calcatz.CookieCutter.Vector3ConnectionPoint

Public Member Functions

 ConnectionPoint (Node _node, ConnectionPointType _type, GUIStyle _style, Action< ConnectionPoint > _onClickConnectionPoint)
 
void Draw (Vector2 _nodePosition, float _yPos)
 
virtual Color GetColor ()
 
virtual float GetConnectionWidth ()
 

Public Attributes

Rect rect
 
ConnectionPointType type
 
Node node
 
GUIStyle style
 
Action< ConnectionPointonClickConnectionPoint
 

Properties

static Texture2D btnLeftTex [get]
 
static Texture2D btnLeftOnTex [get]
 
static Texture2D btnRightTex [get]
 
static Texture2D btnRightOnTex [get]
 

Constructor & Destructor Documentation

◆ ConnectionPoint()

Calcatz.CookieCutter.ConnectionPoint.ConnectionPoint ( Node  _node,
ConnectionPointType  _type,
GUIStyle  _style,
Action< ConnectionPoint _onClickConnectionPoint 
)

Member Function Documentation

◆ Draw()

void Calcatz.CookieCutter.ConnectionPoint.Draw ( Vector2  _nodePosition,
float  _yPos 
)

◆ GetColor()

◆ GetConnectionWidth()

virtual float Calcatz.CookieCutter.ConnectionPoint.GetConnectionWidth ( )
virtual

Member Data Documentation

◆ node

Node Calcatz.CookieCutter.ConnectionPoint.node

◆ onClickConnectionPoint

Action<ConnectionPoint> Calcatz.CookieCutter.ConnectionPoint.onClickConnectionPoint

◆ rect

Rect Calcatz.CookieCutter.ConnectionPoint.rect

◆ style

GUIStyle Calcatz.CookieCutter.ConnectionPoint.style

◆ type

ConnectionPointType Calcatz.CookieCutter.ConnectionPoint.type

Property Documentation

◆ btnLeftOnTex

Texture2D Calcatz.CookieCutter.ConnectionPoint.btnLeftOnTex
staticgetprotected

◆ btnLeftTex

Texture2D Calcatz.CookieCutter.ConnectionPoint.btnLeftTex
staticgetprotected

◆ btnRightOnTex

Texture2D Calcatz.CookieCutter.ConnectionPoint.btnRightOnTex
staticgetprotected

◆ btnRightTex

Texture2D Calcatz.CookieCutter.ConnectionPoint.btnRightTex
staticgetprotected