Class NormalMatrix
Represents an operator that computes the normal matrix for each modelview matrix in the sequence.
public class NormalMatrix : Transform<Matrix4, Matrix4>
- Inheritance
-
NormalMatrix
- Inherited Members
Methods
Process(IObservable<Matrix3>)
Computes the normal matrix for each 3x3 modelview matrix in an observable sequence.
public IObservable<Matrix3> Process(IObservable<Matrix3> source)
Parameters
source
IObservable<Matrix3>The sequence of 3x3 modelview matrices for which to compute the normal matrix.
Returns
- IObservable<Matrix3>
A sequence of Matrix3 objects representing the normal matrix for each modelview matrix in the
source
sequence.
Process(IObservable<Matrix4>)
Computes the normal matrix for each 4x4 modelview matrix in an observable sequence.
public override IObservable<Matrix4> Process(IObservable<Matrix4> source)
Parameters
source
IObservable<Matrix4>The sequence of 4x4 modelview matrices for which to compute the normal matrix.
Returns
- IObservable<Matrix4>
A sequence of Matrix4 objects representing the normal matrix for each modelview matrix in the
source
sequence.