Interface IControllable
- Namespace
- FriedSynapse.FlowEnt
Used to control something that is playable. Provides seek functionality.
public interface IControllable
- Extension Methods
Properties
ElapsedTime
Amount of scaled time that passed within this animation.
float ElapsedTime { get; }
Property Value
IsSeekable
Returns true if the current Controllable can be seeked. Use SeekRation in that case.
bool IsSeekable { get; }
Property Value
PlayState
PlayState PlayState { get; }
Property Value
SeekRatio
Get or Set the seek ration. Make sure the IsSeekable is true, otherwise this will throw an exception.
float SeekRatio { get; set; }
Property Value
TimeScale
float TimeScale { get; set; }
Property Value
Methods
Pause()
void Pause()
Resume()
void Resume()
SimulateFrames(int)
Simulates frameCount
number of frames to pass. If negative, it'll go backwards in time.
void SimulateFrames(int frameCount)
Parameters
frameCount
int
SimulateUpdate(float)
Sends an update with the specified delta time to the Controllable.
void SimulateUpdate(float deltaTime)
Parameters
deltaTime
float
Stop()
void Stop()