예제 #1
0
파일: Effect.cs 프로젝트: zmtzawqlp/SharpDX
 /// <summary>
 /// Begins playing an effect infinitely. If the effect is already playing, it is restarted from the beginning. If the effect has not been downloaded or has been modified since its last download, it is downloaded before being started. This default behavior can be suppressed by passing the <see cref="EffectPlayFlags.NoDownload"/> flag.
 /// </summary>
 /// <param name="flags">Flags that describe how the effect should be played by the device.</param>
 /// <returns>A <see cref = "T:SharpDX.Result" /> object describing the result of the operation.</returns>
 public void Start(EffectPlayFlags flags)
 {
     Start(-1, flags);
 }
예제 #2
0
파일: Effect.cs 프로젝트: numo16/SharpDX
 /// <summary>
 /// Begins playing an effect infinitely. If the effect is already playing, it is restarted from the beginning. If the effect has not been downloaded or has been modified since its last download, it is downloaded before being started. This default behavior can be suppressed by passing the <see cref="EffectPlayFlags.NoDownload"/> flag.
 /// </summary>
 /// <param name="flags">Flags that describe how the effect should be played by the device.</param>
 /// <returns>A <see cref = "T:SharpDX.Result" /> object describing the result of the operation.</returns>
 public void Start(EffectPlayFlags flags)
 {
     Start(-1, flags);
 }
예제 #3
0
 /// <summary>
 /// Begins playing an effect infinitely. If the effect is already playing, it is restarted from the beginning. If the effect has not been downloaded or has been modified since its last download, it is downloaded before being started. This default behavior can be suppressed by passing the <see cref="EffectPlayFlags.NoDownload"/> flag.
 /// </summary>
 /// <param name="flags">Flags that describe how the effect should be played by the device.</param>
 /// <returns>A <see cref="Result" /> object describing the result of the operation.</returns>
 public Result Start(EffectPlayFlags flags) => Start(-1, flags);