/// <description> /// Stop playback of the video. The next call to play() will then start playback from the beginning of the video. /// /// While stopped, the control renders empty with just the background color. /// </description> public void Stop() { InternalUnsafeMethods.Stop__Args _args = new InternalUnsafeMethods.Stop__Args() { }; InternalUnsafeMethods.Stop()(ObjectPtr, _args); }
/// <description> /// Stop 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 transtion to stopped state but will rather remain in playing state until the fade-out time has expired.</param> public void Stop(float fadeOutTime = -1f) { InternalUnsafeMethods.Stop__Args _args = new InternalUnsafeMethods.Stop__Args() { fadeOutTime = fadeOutTime, }; InternalUnsafeMethods.Stop()(ObjectPtr, _args); }
/// <description> /// ( [bool pReset] ) - Stop the sequence and optionally reset it. /// </description> /// <param name="pReset">Reset the Controller after stopping.</param> /// <returns>No return value.</returns> public void Stop(bool reset = true) { InternalUnsafeMethods.Stop__Args _args = new InternalUnsafeMethods.Stop__Args() { reset = reset, }; InternalUnsafeMethods.Stop()(ObjectPtr, _args); }