API reference
API reference
Select your platform
No SDKs available
No versions available

TTSEventAnimator Class

Extends MonoBehaviour
A base class for performing audio event based animations

Properties

IVLogger Logger[Get]
The audio event player being used for playback
The current event container

Fields

Whether easing should be skipped & values should just be set
The easing curve to be used for event lerping

Protected Functions

On awake, generate min and max events
Finds player if needed, adds delegates and refreshes events
Updated once per frame
Updates currently set sample and lerps between events as specified
Parameters
force
If true, will force the sample set & lerping between events. If false the sample will only be set if it has changed.
Performs a lerp from an event to another event
Parameters
fromEvent
The event starting point
toEvent
The event ending point
percentage
0 to 1 value with 0 meaning previous event & 1 meaning next event
Did you find this page helpful?
Thumbs up icon
Thumbs down icon