Sequine - Scripting API
Calcatz.Sequine.GetActionClipCommand Class Reference

Gets the actual animation clip reference of a Sequine Animation Data by specifying the action. More...

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

Public Member Functions

override AnimationClip GetOutput (CommandExecutionFlow _flow, int _pointIndex)
 
override void Editor_OnDrawTitle (out string _tooltip)
 Called when a Command Node's title is drawn. Use this to change the tooltip of the command. Also use this to decide whether the Title should draw in-point and/or out-point. 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

UnityEngine.Object target
 
int actionId
 

Protected Member Functions

void DrawActionsField (int _actionId, System.Action< int > _onActionIdChanged)
 

Properties

override float nodeWidth [get]
 

Detailed Description

Gets the actual animation clip reference of a Sequine Animation Data by specifying the action.

Member Function Documentation

◆ DrawActionsField()

void Calcatz.Sequine.GetActionClipCommand.DrawActionsField ( int  _actionId,
System.Action< int >  _onActionIdChanged 
)
protected

◆ Editor_InitInPoints()

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

◆ Editor_OnDrawTitle()

override void Calcatz.Sequine.GetActionClipCommand.Editor_OnDrawTitle ( out string  _tooltip)
virtual

Called when a Command Node's title is drawn. Use this to change the tooltip of the command. Also use this to decide whether the Title should draw in-point and/or out-point.

Parameters
_tooltip

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

◆ GetOutput()

override AnimationClip Calcatz.Sequine.GetActionClipCommand.GetOutput ( CommandExecutionFlow  _flow,
int  _pointIndex 
)
virtual

Member Data Documentation

◆ actionId

int Calcatz.Sequine.GetActionClipCommand.actionId

◆ target

UnityEngine.Object Calcatz.Sequine.GetActionClipCommand.target

Property Documentation

◆ nodeWidth

override float Calcatz.Sequine.GetActionClipCommand.nodeWidth
get