virtual void SetPlayState(PlayState s) = 0;
SetPlayState changes playback state, allowing animation to be paused and resumed. Setting the state to Stopped will prevent Advance from advancing movie frames.
Note that changing the play state to Stopped will stop only the root movie clip, the nested clips will keep on running. To globally pause the entire movie, developers can simply stop calling the Advance method on it.
Parameters |
Description |
PlayState s |
The new movie state, either Playing or Stopped. |