Table of Contents

Class NormalizedDeviceCoordinates

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

Represents an operator that converts each point in the sequence from window client coordinates into normalized device coordinates.

public class NormalizedDeviceCoordinates : Transform<EventPattern<INativeWindow, MouseEventArgs>, Vector2>
Inheritance
NormalizedDeviceCoordinates
Inherited Members

Methods

Process(IObservable<EventPattern<INativeWindow, MouseButtonEventArgs>>)

Converts each point in an observable sequence of mouse button event data from window client coordinates into normalized device coordinates.

Process(IObservable<EventPattern<INativeWindow, MouseEventArgs>>)

Converts each point in an observable sequence of mouse device event data from window client coordinates into normalized device coordinates.

Process(IObservable<EventPattern<INativeWindow, MouseMoveEventArgs>>)

Converts each point in an observable sequence of mouse move event data from window client coordinates into normalized device coordinates.

Process(IObservable<EventPattern<INativeWindow, MouseWheelEventArgs>>)

Converts each point in an observable sequence of mouse wheel event data from window client coordinates into normalized device coordinates.