Class AudityTransportBehaviour
Anchors the transport on the first processed frame: anchor = now minus how far the playhead already is into the clip, so beat 0 ≡ clip start even when playback begins mid-clip. One-shot per clip entry; the grid is anchor math and needs no further updates while the clip plays.
Assembly: DarkEffekt.Audity.Timeline
Section titled “Assembly: DarkEffekt.Audity.Timeline”[Serializable]public sealed class AudityTransportBehaviour : PlayableBehaviourInheritance: System.Object -> UnityEngine.Playables.PlayableBehaviour
Fields
Section titled “Fields”transportName
Section titled “transportName”public string transportNamepublic double bpmbeatsPerBar
Section titled “beatsPerBar”public int beatsPerBarphraseBars
Section titled “phraseBars”public int phraseBarsMethods
Section titled “Methods”OnBehaviourPlay(Playable, FrameData)
Section titled “OnBehaviourPlay(Playable, FrameData)”This function is called when the Playable play state is changed to Playables.PlayState.Playing.
public override void OnBehaviourPlay(Playable playable, FrameData info)Parameters
Section titled “Parameters”| Type | Name | Description |
|---|---|---|
UnityEngine.Playables.Playable |
playable | The Playable that owns the current PlayableBehaviour. |
UnityEngine.Playables.FrameData |
info | A FrameData structure that contains information about the current frame context. |
ProcessFrame(Playable, FrameData, object)
Section titled “ProcessFrame(Playable, FrameData, object)”This function is called during the ProcessFrame phase of the PlayableGraph.
public override void ProcessFrame(Playable playable, FrameData info, object playerData)Parameters
Section titled “Parameters”| Type | Name | Description |
|---|---|---|
UnityEngine.Playables.Playable |
playable | The Playable that owns the current PlayableBehaviour. |
UnityEngine.Playables.FrameData |
info | A FrameData structure that contains information about the current frame context. |
System.Object |
playerData | The user data of the ScriptPlayableOutput that initiated the process pass. |