Sequine - Scripting API
Calcatz.CookieCutter.OperatorCommand< TValueType > Class Template Reference

Base class for commands with operator. More...

Inheritance diagram for Calcatz.CookieCutter.OperatorCommand< TValueType >:
Calcatz.CookieCutter.PropertyCommand< TValueType > Calcatz.CookieCutter.Command< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10 >

Public Member Functions

override void Editor_InitInPoints ()
 Called when a Command Node is initialized, specifically the in-points. Use this method to ensure inputIds as well. More...
 
override void Editor_InitOutPoints ()
 Called when a Command Node is initialized, specifically the out-points. Use this method to ensure nextIds as well. More...
 
override void Editor_OnDrawContents (Vector2 _absPosition)
 Called when a Command Node is drawn. More...
 

Public Attributes

TValueType a = default(TValueType)
 
TValueType b = default(TValueType)
 
Operator operatorType = Operator.Add
 

Protected Member Functions

virtual void OnDrawAField ()
 
virtual void OnDrawBField ()
 

Properties

override float nodeWidth [get]
 

Detailed Description

Base class for commands with operator.

Template Parameters
TValueType

Member Function Documentation

◆ Editor_InitInPoints()

override void Calcatz.CookieCutter.OperatorCommand< TValueType >.Editor_InitInPoints ( )
virtual

Called when a Command Node is initialized, specifically the in-points. Use this method to ensure inputIds as well.

Reimplemented from Calcatz.CookieCutter.Command< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10 >.

◆ Editor_InitOutPoints()

override void Calcatz.CookieCutter.OperatorCommand< TValueType >.Editor_InitOutPoints ( )
virtual

Called when a Command Node is initialized, specifically the out-points. Use this method to ensure nextIds as well.

Reimplemented from Calcatz.CookieCutter.Command< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10 >.

◆ Editor_OnDrawContents()

override void Calcatz.CookieCutter.OperatorCommand< TValueType >.Editor_OnDrawContents ( Vector2  _absPosition)
virtual

Called when a Command Node is drawn.

Parameters
_absPosition

Reimplemented from Calcatz.CookieCutter.Command< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10 >.

◆ OnDrawAField()

virtual void Calcatz.CookieCutter.OperatorCommand< TValueType >.OnDrawAField ( )
protectedvirtual

◆ OnDrawBField()

virtual void Calcatz.CookieCutter.OperatorCommand< TValueType >.OnDrawBField ( )
protectedvirtual

Member Data Documentation

◆ a

TValueType Calcatz.CookieCutter.OperatorCommand< TValueType >.a = default(TValueType)

◆ b

TValueType Calcatz.CookieCutter.OperatorCommand< TValueType >.b = default(TValueType)

◆ operatorType

Operator Calcatz.CookieCutter.OperatorCommand< TValueType >.operatorType = Operator.Add

Property Documentation

◆ nodeWidth

override float Calcatz.CookieCutter.OperatorCommand< TValueType >.nodeWidth
get