Table of Contents

Method Generate

Namespace
Bonsai.Shaders.Input
Assembly
Bonsai.Shaders.dll

Generate()

Generates an observable sequence that produces a character whenever the corresponding key is pressed while the shader window has focus.

public override IObservable<EventPattern<INativeWindow, KeyPressEventArgs>> Generate()

Returns

IObservable<EventPattern<INativeWindow, KeyPressEventArgs>>

A sequence of events containing KeyPressEventArgs event data produced whenever a character key is pressed while the shader window has focus.