Table of Contents

Method Generate

Namespace
Bonsai.Shaders
Assembly
Bonsai.Shaders.dll

Generate()

Retrieves the bounds of the specified mesh geometry and surfaces them through an observable sequence.

public override IObservable<Bounds> Generate()

Returns

IObservable<Bounds>

A sequence containing the retrieved mesh Bounds.

Generate<TSource>(IObservable<TSource>)

Retrieves the bounds of the specified mesh geometry whenever an observable sequence emits a notification.

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

Parameters

source IObservable<TSource>

The sequence containing the notifications used for retrieving mesh bounds.

Returns

IObservable<Bounds>

The sequence of retrieved mesh Bounds.

Type Parameters

TSource

The type of the elements in the source sequence.