Sequine - Scripting API
Calcatz.Sequine.PlayLoopingSoundCommand Class Reference

Base class of commands that play a looping audio clip. More...

Inheritance diagram for Calcatz.Sequine.PlayLoopingSoundCommand:
Calcatz.CookieCutter.Command< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10 > Calcatz.Sequine.BGMControlCommand Calcatz.Sequine.PlayAmbienceCommand Calcatz.Sequine.PlayAmbienceFromLibraryCommand Calcatz.Sequine.PlayBGMFromLibraryCommand

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_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_OnDrawContents (Vector2 _absPosition)
 Called when a Command Node is drawn. More...
 

Public Attributes

System.Boolean restart
 
System.Single fadeDuration = 1f
 
System.Single volumeMultiplier = 1f
 

Protected Member Functions

virtual void OnDrawClipInputField ()
 

Static Protected Attributes

const int IN_PORT_CLIPINPUT = 0
 
const int IN_PORT_RESTART = 1
 
const int IN_PORT_FADE_DURATION = 2
 
const int IN_PORT_VOLUME_MULTIPLIER = 3
 

Properties

override float nodeWidth [get]
 
virtual System.Type clipInputType [get]
 
virtual string clipInputLabel [get]
 
virtual string tooltip [get]
 

Detailed Description

Base class of commands that play a looping audio clip.

Member Function Documentation

◆ Editor_InitInPoints()

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

◆ OnDrawClipInputField()

virtual void Calcatz.Sequine.PlayLoopingSoundCommand.OnDrawClipInputField ( )
protectedvirtual

Member Data Documentation

◆ fadeDuration

System.Single Calcatz.Sequine.PlayLoopingSoundCommand.fadeDuration = 1f

◆ IN_PORT_CLIPINPUT

const int Calcatz.Sequine.PlayLoopingSoundCommand.IN_PORT_CLIPINPUT = 0
staticprotected

◆ IN_PORT_FADE_DURATION

const int Calcatz.Sequine.PlayLoopingSoundCommand.IN_PORT_FADE_DURATION = 2
staticprotected

◆ IN_PORT_RESTART

const int Calcatz.Sequine.PlayLoopingSoundCommand.IN_PORT_RESTART = 1
staticprotected

◆ IN_PORT_VOLUME_MULTIPLIER

const int Calcatz.Sequine.PlayLoopingSoundCommand.IN_PORT_VOLUME_MULTIPLIER = 3
staticprotected

◆ restart

System.Boolean Calcatz.Sequine.PlayLoopingSoundCommand.restart

◆ volumeMultiplier

System.Single Calcatz.Sequine.PlayLoopingSoundCommand.volumeMultiplier = 1f

Property Documentation

◆ clipInputLabel

virtual string Calcatz.Sequine.PlayLoopingSoundCommand.clipInputLabel
getprotected

◆ clipInputType

virtual System.Type Calcatz.Sequine.PlayLoopingSoundCommand.clipInputType
getprotected

◆ nodeWidth

override float Calcatz.Sequine.PlayLoopingSoundCommand.nodeWidth
get

◆ tooltip

virtual string Calcatz.Sequine.PlayLoopingSoundCommand.tooltip
getprotected