/// <description> /// Pause playback of the video. If the video is not currently playing, the call is ignored. /// /// While stopped, the control displays the last frame. /// </description> public void Pause() { InternalUnsafeMethods.Pause__Args _args = new InternalUnsafeMethods.Pause__Args() { }; InternalUnsafeMethods.Pause()(ObjectPtr, _args); }
/// <description> /// Pause playback of the source. /// </description> /// <param name="fadeOutTime">Seconds for the sound to fade down to zero volume. If -1, the SFXDescription::fadeOutTime set in the source's associated description is used. Pass 0 to disable a fade-out effect that may be configured on the description. /// Be aware that if a fade-out effect is used, the source will not immediately to paused state but will rather remain in playing state until the fade-out time has expired..</param> public void Pause(float fadeOutTime = -1f) { InternalUnsafeMethods.Pause__Args _args = new InternalUnsafeMethods.Pause__Args() { fadeOutTime = fadeOutTime, }; InternalUnsafeMethods.Pause()(ObjectPtr, _args); }