Table of Contents

Class Invert

Namespace
Bonsai.Shaders
Assembly
Bonsai.Shaders.dll

Represents an operator that converts every matrix in the sequence to its inverse.

public class Invert : Transform<Matrix4, Matrix4>
Inheritance
Invert
Inherited Members

Methods

Process(IObservable<Matrix3>)

Converts every 3x3 matrix in an observable sequence to its inverse.

public IObservable<Matrix3> Process(IObservable<Matrix3> source)

Parameters

source IObservable<Matrix3>

The sequence of 3x3 matrices to invert.

Returns

IObservable<Matrix3>

The sequence of inverted 3x3 matrices.

Process(IObservable<Matrix4>)

Converts every 4x4 matrix in an observable sequence to its inverse.

public override IObservable<Matrix4> Process(IObservable<Matrix4> source)

Parameters

source IObservable<Matrix4>

The sequence of 4x4 matrices to invert.

Returns

IObservable<Matrix4>

The sequence of inverted 4x4 matrices.