Sequine - Scripting API
Calcatz.Sequine.PlayAudioClipCommand Class Reference

Plays an audio clip directly in Master channel. More...

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

Public Member Functions

override void Execute (CommandExecutionFlow _flow)
 The process to execute upon visiting the main in-point (white in-point). More...
 
- Public Member Functions inherited from Calcatz.Sequine.PlayOneShotSoundCommand
override void Execute (CommandExecutionFlow _flow)
 The process to execute upon visiting the main in-point (white in-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_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

AudioClip audioClip
 
- Public Attributes inherited from Calcatz.Sequine.PlayOneShotSoundCommand
float volumeMultiplier = 1f
 
bool playAtPosition
 
Vector3 position
 

Protected Member Functions

override void OnDrawClipInputField ()
 
- Protected Member Functions inherited from Calcatz.Sequine.PlayOneShotSoundCommand
override void HandleInterruption ()
 Called when the current flow is force killed, while the currently executed command is exactly this command, and has not exited. Note that "exited" here means that Exit() method has been called. More...
 
void OnComplete ()
 

Properties

override float nodeWidth [get]
 
override string tooltip [get]
 
- Properties inherited from Calcatz.Sequine.PlayOneShotSoundCommand
override float nodeWidth [get]
 
virtual System.Type clipInputType [get]
 
virtual string clipInputLabel [get]
 
virtual string tooltip [get]
 

Additional Inherited Members

- Protected Attributes inherited from Calcatz.Sequine.PlayOneShotSoundCommand
SubFlowInfo subFlowOnComplete
 
- Static Protected Attributes inherited from Calcatz.Sequine.PlayOneShotSoundCommand
const int IN_PORT_CLIPINPUT = 0
 
const int IN_PORT_VOLUME_MULTIPLIER = 1
 
const int IN_PORT_POSITION = 2
 
const int OUT_PORT_ONCOMPLETE = 1
 

Detailed Description

Plays an audio clip directly in Master channel.

Member Function Documentation

◆ Execute()

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

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

Parameters
_flow

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

◆ OnDrawClipInputField()

override void Calcatz.Sequine.PlayAudioClipCommand.OnDrawClipInputField ( )
protectedvirtual

Member Data Documentation

◆ audioClip

AudioClip Calcatz.Sequine.PlayAudioClipCommand.audioClip

Property Documentation

◆ nodeWidth

override float Calcatz.Sequine.PlayAudioClipCommand.nodeWidth
get

◆ tooltip

override string Calcatz.Sequine.PlayAudioClipCommand.tooltip
getprotected