Table of Contents

Class PlayTextureSequence

Namespace
Bonsai.Shaders
Assembly
Bonsai.Shaders.dll

Represents an operator that starts playing the frame sequence of a video texture or texture array.

public class PlayTextureSequence : Combinator<ElementIndex<Texture>>
Inheritance
PlayTextureSequence
Inherited Members

Properties

Loop

Gets or sets a value indicating whether the video should loop when the end of the file is reached.

PlaybackRate

Gets or sets the rate at which to playback the sequence. A value of zero means the native frame rate will be used.

TextureName

Gets or sets the name of the texture sequence.

Methods

Process()

Generates an observable sequence that starts playing the frames of a video texture or texture array in order.

Process(IObservable<Texture>)

Starts playing the frames of the video texture or texture array in an observable sequence.

Process<TSource>(IObservable<TSource>)

Starts playing the frames of a video texture or texture array in order whenever an observable sequence emits a notification.