Sequine - Scripting API
Calcatz.Sequine.GetTransformCommand Class Reference

Gets Transform values. More...

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

Public Member Functions

override OneOf< Vector3, Quaternion > GetOutput (CommandExecutionFlow _flow, int _pointIndex)
 
override bool Validate (CommandData _commandData)
 Validate() is called when opening the nodes editor (if in Edit Mode), or right before the command execution (if in Play Mode). The main purpose is to adapt or validate any data inside the Command, if its structure had been changed. More...
 
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

bool localSpace
 
UnityEngine.Object transformTarget
 
TargetObject< Transform > transformRef
 

Static Public Attributes

const int IN_PORT_TARGET = 0
 
const int OUT_PORT_POSITION = 0
 
const int OUT_PORT_ROTATION = 1
 
const int OUT_PORT_SCALE = 2
 

Protected Member Functions

Transform GetTransform (CommandExecutionFlow _flow)
 

Properties

override float nodeWidth [get]
 

Detailed Description

Gets Transform values.

Member Function Documentation

◆ Editor_InitInPoints()

override void Calcatz.Sequine.GetTransformCommand.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.GetTransformCommand.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.GetTransformCommand.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 OneOf< Vector3, Quaternion > Calcatz.Sequine.GetTransformCommand.GetOutput ( CommandExecutionFlow  _flow,
int  _pointIndex 
)
virtual

◆ GetTransform()

Transform Calcatz.Sequine.GetTransformCommand.GetTransform ( CommandExecutionFlow  _flow)
protected

◆ Validate()

override bool Calcatz.Sequine.GetTransformCommand.Validate ( CommandData  _commandData)
virtual

Validate() is called when opening the nodes editor (if in Edit Mode), or right before the command execution (if in Play Mode). The main purpose is to adapt or validate any data inside the Command, if its structure had been changed.

Returns
Returns true if the command is modified due to validation.

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

Member Data Documentation

◆ IN_PORT_TARGET

const int Calcatz.Sequine.GetTransformCommand.IN_PORT_TARGET = 0
static

◆ localSpace

bool Calcatz.Sequine.GetTransformCommand.localSpace

◆ OUT_PORT_POSITION

const int Calcatz.Sequine.GetTransformCommand.OUT_PORT_POSITION = 0
static

◆ OUT_PORT_ROTATION

const int Calcatz.Sequine.GetTransformCommand.OUT_PORT_ROTATION = 1
static

◆ OUT_PORT_SCALE

const int Calcatz.Sequine.GetTransformCommand.OUT_PORT_SCALE = 2
static

◆ transformRef

TargetObject<Transform> Calcatz.Sequine.GetTransformCommand.transformRef

◆ transformTarget

UnityEngine.Object Calcatz.Sequine.GetTransformCommand.transformTarget

Property Documentation

◆ nodeWidth

override float Calcatz.Sequine.GetTransformCommand.nodeWidth
get