Table of Contents

Class CreateOrthographicOffCenter

Namespace
Bonsai.Shaders
Assembly
Bonsai.Shaders.dll

Represents an operator that creates an orthographic projection matrix from specified projection volume boundaries.

public class CreateOrthographicOffCenter : Source<Matrix4>
Inheritance
CreateOrthographicOffCenter
Inherited Members

Properties

Bottom

Gets or sets the bottom edge of the projection volume.

FarClip

Gets or sets the distance to the far clip plane.

Left

Gets or sets the left edge of the projection volume.

NearClip

Gets or sets the distance to the near clip plane.

Right

Gets or sets the right edge of the projection volume.

Top

Gets or sets the top edge of the projection volume.

Methods

Generate()

Generates an observable sequence that returns a 4x4 orthographic projection matrix with the specified parameters.

Generate<TSource>(IObservable<TSource>)

Generates an observable sequence of orthographic matrices with the specified parameters, where each Matrix4 object is emitted only when an observable sequence emits a notification.