C4 Engine
C4 Engine API Documentation

Movie::SetMovieTime

Defined in:  C4Movies.h
Sets the current play time of a movie.
Prototype

void SetMovieTime(MovieTime time);

Parameters
time The new time value.
Description
The SetMovieTime function sets the current play time of a movie to that specified by the time parameter. This function should be called only for movies that are currently stopped. A subsequent call to the MovieWidget::PlayMovie function will cause the movie to start playing at the new time value.

The MovieTime type represents times in integer units of 36000 ticks per second.
See Also

Movie::GetMovieTime

MovieWidget::PlayMovie

MovieWidget::StopMovie