Skip to content

IEffectPlayback

InterfaceTextStudioTextStudio
public interface IEffectPlayback

Playback mode interface for effect timing/intensity.

float Evaluate(float time, float duration)

Evaluates normalized effect progress for an elapsed time and phase duration.

Parameters

Name Type Description
time System.Single Elapsed time in seconds.
duration System.Single Fallback forward duration in seconds.

Returns

System.Single: Normalized effect intensity.

PlaybackMode Mode { get; }

Gets how local time is mapped to normalized effect intensity.

Returns

TextStudio.PlaybackMode