Sequine - Scripting API
Calcatz.Sequine.ResumeAnimationClipCommand Class Reference

Resumes an animation (if the clip is previously paused) by specifying the animation clip asset. More...

Inheritance diagram for Calcatz.Sequine.ResumeAnimationClipCommand:
Calcatz.Sequine.SequineTargetCommand Calcatz.CookieCutter.Command< float >

Public Member Functions

override void Execute (CommandExecutionFlow _flow)
 The process to execute upon visiting the main in-point (white in-point). More...
 
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_OnDrawContents (Vector2 _absPosition)
 Called when a Command Node is drawn. More...
 
- Public Member Functions inherited from Calcatz.Sequine.SequineTargetCommand
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_OnDrawContents (Vector2 _absPosition)
 Called when a Command Node is drawn. More...
 

Public Attributes

AnimationClip clip
 
- Public Attributes inherited from Calcatz.Sequine.SequineTargetCommand
UnityEngine.Object target
 
TargetObject< SequinePlayersequinePlayerRef
 

Static Public Attributes

const int IN_PORT_CLIP = 1
 
- Static Public Attributes inherited from Calcatz.Sequine.SequineTargetCommand
const int IN_PORT_TARGET = 0
 

Properties

override float nodeWidth [get]
 
- Properties inherited from Calcatz.Sequine.SequineTargetCommand
override float nodeWidth [get]
 

Additional Inherited Members

- Protected Member Functions inherited from Calcatz.Sequine.SequineTargetCommand
SequinePlayer GetSequinePlayer (CommandExecutionFlow _flow)
 Get the suitable Sequine Player component. More...
 
void DrawActionsField (int _actionId, System.Action< int > _onActionIdChanged, ref SequineAnimationData _animationData)
 

Detailed Description

Resumes an animation (if the clip is previously paused) by specifying the animation clip asset.

Member Function Documentation

◆ Editor_InitInPoints()

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

◆ Editor_OnDrawContents()

override void Calcatz.Sequine.ResumeAnimationClipCommand.Editor_OnDrawContents ( Vector2  _absPosition)
virtual

Called when a Command Node is drawn.

Parameters
_absPosition

Reimplemented from Calcatz.CookieCutter.Command< float >.

◆ Editor_OnDrawTitle()

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

◆ Execute()

override void Calcatz.Sequine.ResumeAnimationClipCommand.Execute ( CommandExecutionFlow  _flow)
virtual

The process to execute upon visiting the main in-point (white in-point).

Parameters
_flow

Reimplemented from Calcatz.CookieCutter.Command< float >.

Member Data Documentation

◆ clip

AnimationClip Calcatz.Sequine.ResumeAnimationClipCommand.clip

◆ IN_PORT_CLIP

const int Calcatz.Sequine.ResumeAnimationClipCommand.IN_PORT_CLIP = 1
static

Property Documentation

◆ nodeWidth

override float Calcatz.Sequine.ResumeAnimationClipCommand.nodeWidth
get