Table of Contents

Method Generate

Namespace
Bonsai.Shaders
Assembly
Bonsai.Shaders.dll

Generate()

Generates an observable sequence that contains a single 4x2 matrix with the specified rows.

public override IObservable<Matrix4x2> Generate()

Returns

IObservable<Matrix4x2>

A sequence containing the created Matrix4x2 object.

Generate<TSource>(IObservable<TSource>)

Generates an observable sequence of 4x2 matrices with the specified rows, and where each Matrix4x2 object is emitted only when an observable sequence emits a notification.

public IObservable<Matrix4x2> Generate<TSource>(IObservable<TSource> source)

Parameters

source IObservable<TSource>

The sequence containing the notifications used for emitting new matrices.

Returns

IObservable<Matrix4x2>

The sequence of created Matrix4x2 values.

Type Parameters

TSource

The type of the elements in the source sequence.