Table of Contents

Class MeshBounds

Namespace
Bonsai.Shaders
Assembly
Bonsai.Shaders.dll

Represents an operator that retrieves the bounds of the specified mesh geometry.

public class MeshBounds : Source<Bounds>
Inheritance
MeshBounds
Inherited Members

Properties

MeshName

Gets or sets the name of the mesh geometry for which to retrieve the bounds.

[TypeConverter(typeof(MeshNameConverter))]
public string MeshName { get; set; }

Property Value

string

Methods

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.