PowerSlide.ITimingLeader Interface Reference

Detailed Description

A timing leader is something which PowerSlide will follow whilst animating. For example, it will follow the lead of a playing audio clip to make sure dialogue on the UI is perfectly in sync with the playing audio.

Inheritance diagram for PowerSlide.ITimingLeader:
PowerUI.AudioPackage

Public Member Functions

void Stop ()
 Interrupts the leader to indicate that the slide had a duration and it was reached. More...
 
float GetDuration ()
 The clip length in seconds. Returns -1 if it's unknown. More...
 
float GetCurrentTime ()
 The current time in seconds. More...
 

Member Function Documentation

float PowerSlide.ITimingLeader.GetCurrentTime ( )

The current time in seconds.

Implemented in PowerUI.AudioPackage.

float PowerSlide.ITimingLeader.GetDuration ( )

The clip length in seconds. Returns -1 if it's unknown.

Implemented in PowerUI.AudioPackage.

void PowerSlide.ITimingLeader.Stop ( )

Interrupts the leader to indicate that the slide had a duration and it was reached.

Implemented in PowerUI.AudioPackage.