MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / Player_Stop

Method Player_Stop

Source/Engine/Video/MF/VideoBackendMF.cpp:553–562  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

551}
552
553void VideoBackendMF::Player_Stop(VideoBackendPlayer& player)
554{
555 PROFILE_CPU();
556 auto& playerMF = player.GetBackendState<VideoPlayerMF>();
557 playerMF.Time = TimeSpan::Zero();
558 playerMF.Playing = 0;
559 playerMF.FirstFrame = 1;
560 playerMF.Seek = 1;
561 player.StopAudio();
562}
563
564void VideoBackendMF::Player_Seek(VideoBackendPlayer& player, TimeSpan time)
565{

Callers 1

StopMethod · 0.45

Calls 1

StopAudioMethod · 0.80

Tested by

no test coverage detected