Table of Contents

Class CreatePerspectiveFieldOfView

Namespace
Bonsai.Shaders
Assembly
Bonsai.Shaders.dll

Represents an operator that creates a perspective projection matrix from field of view parameters.

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

Properties

AspectRatio

Gets or sets the aspect ratio of the viewport.

FarClip

Gets or sets the distance to the far clip plane.

FovY

Gets or sets the angle of the field of view in the y direction, in radians.

NearClip

Gets or sets the distance to the near clip plane.

Methods

Generate()

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

Generate<TSource>(IObservable<TSource>)

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