/// <description> /// Start playing the video. If the video is already playing, the call is ignored. /// </description> public void Play() { InternalUnsafeMethods.Play__Args _args = new InternalUnsafeMethods.Play__Args() { }; InternalUnsafeMethods.Play()(ObjectPtr, _args); }
/// <description> /// Start playback of the source. /// If the sound data for the source has not yet been fully loaded, there will be a delay after calling play and playback will start after the data has become available. /// </description> /// <param name="fadeInTime">Seconds for the sound to reach full volume. If -1, the SFXDescription::fadeInTime set in the source's associated description is used. Pass 0 to disable a fade-in effect that may be configured on the description.</param> public void Play(float fadeInTime = -1f) { InternalUnsafeMethods.Play__Args _args = new InternalUnsafeMethods.Play__Args() { fadeInTime = fadeInTime, }; InternalUnsafeMethods.Play()(ObjectPtr, _args); }
/// <description> /// ( [int pTime] ) - Play the sequence. If a value for pTime is specified, the Controller is reset and played from that time. /// </description> /// <param name="pTime">The time to start playing the sequence from.</param> /// <returns>No return value.</returns> public void Play(int time = -1) { InternalUnsafeMethods.Play__Args _args = new InternalUnsafeMethods.Play__Args() { time = time, }; InternalUnsafeMethods.Play()(ObjectPtr, _args); }