Table of Contents

Class UpdateViewportState

Namespace
Bonsai.Shaders
Assembly
Bonsai.Shaders.dll

Represents an operator that updates the active viewport in the shader window.

public class UpdateViewportState : Sink
Inheritance
UpdateViewportState
Inherited Members

Properties

Height

Gets or sets the height of the viewport rectangle, in normalized coordinates.

Width

Gets or sets the width of the viewport rectangle, in normalized coordinates.

X

Gets or sets the x-coordinate of the lower left corner of the viewport.

Y

Gets or sets the y-coordinate of the lower left corner of the viewport.

Methods

Process<TSource>(IObservable<TSource>)

Updates the active viewport in the shader window whenever an observable sequence emits a notification.