Sequine - Scripting API
Calcatz.Sequine.Vector3OperatorCommand Class Reference

Calculates a Vector3 value by operating 2 Vector3s. More...

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

Public Types

enum  Operator { Add , Subtract , Cross }
 

Public Member Functions

override Vector3 GetOutput (CommandExecutionFlow _flow, int _pointIndex)
 
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

Vector3 a
 
Vector3 b
 
Operator opr
 

Properties

override float nodeWidth [get]
 

Additional Inherited Members

Detailed Description

Calculates a Vector3 value by operating 2 Vector3s.

Member Enumeration Documentation

◆ Operator

Enumerator
Add 
Subtract 
Cross 

Member Function Documentation

◆ Editor_InitInPoints()

override void Calcatz.Sequine.Vector3OperatorCommand.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.Sequine.Vector3OperatorCommand.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.Sequine.Vector3OperatorCommand.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 >.

◆ GetOutput()

override Vector3 Calcatz.Sequine.Vector3OperatorCommand.GetOutput ( CommandExecutionFlow  _flow,
int  _pointIndex 
)
virtual

Member Data Documentation

◆ a

Vector3 Calcatz.Sequine.Vector3OperatorCommand.a

◆ b

Vector3 Calcatz.Sequine.Vector3OperatorCommand.b

◆ opr

Operator Calcatz.Sequine.Vector3OperatorCommand.opr

Property Documentation

◆ nodeWidth

override float Calcatz.Sequine.Vector3OperatorCommand.nodeWidth
get