Method Process
Process()
Generates an observable sequence that starts playing the frames of a video texture or texture array in order.
public IObservable<ElementIndex<Texture>> Process()
Returns
- IObservable<ElementIndex<Texture>>
An observable sequence reporting the zero-based index of the frame which is currently active in the specified texture.
Process(IObservable<Texture>)
Starts playing the frames of the video texture or texture array in an observable sequence.
public IObservable<ElementIndex<Texture>> Process(IObservable<Texture> source)
Parameters
source
IObservable<Texture>The sequence of Texture objects for which to start playing the frames in orer. The texture must be either a video texture or a texture array.
Returns
- IObservable<ElementIndex<Texture>>
An observable sequence reporting the zero-based index of the frame which is currently active in the specified texture.
Process<TSource>(IObservable<TSource>)
Starts playing the frames of a video texture or texture array in order whenever an observable sequence emits a notification.
public override IObservable<ElementIndex<Texture>> Process<TSource>(IObservable<TSource> source)
Parameters
source
IObservable<TSource>The sequence containing the notifications used to start playing the video texture or texture array.
Returns
- IObservable<ElementIndex<Texture>>
An observable sequence reporting the zero-based index of the frame which is currently active in the specified texture.
Type Parameters
TSource
The type of the elements in the
source
sequence.