Table of Contents

Method Generate

Namespace
Bonsai.Shaders.Rendering
Assembly
Bonsai.Shaders.Rendering.dll

Generate()

Gets the transform matrix of the specified scene node and surfaces it through an observable sequence.

public override IObservable<Matrix4> Generate()

Returns

IObservable<Matrix4>

A sequence containing the Matrix4 object representing the transform of the specified scene node.

Generate<TSource>(IObservable<TSource>)

Gets the transform matrix of the specified scene node whenever an observable sequence emits a notification.

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

Parameters

source IObservable<TSource>

The sequence of notifications used to extract the node transform.

Returns

IObservable<Matrix4>

A sequence of Matrix4 objects representing the transform of the specified scene node.

Type Parameters

TSource

The type of the elements in the source sequence.