Table of Contents

Class ExtractScale

Namespace
Bonsai.Shaders
Assembly
Bonsai.Shaders.dll

Represents an operator that returns the scale component of every matrix in the sequence.

public class ExtractScale : Transform<Matrix4, Vector3>
Inheritance
ExtractScale
Inherited Members

Methods

Process(IObservable<Matrix4>)

Returns the scale component of every 4x4 matrix in an observable sequence.

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

Parameters

source IObservable<Matrix4>

The sequence of 4x4 matrices for which to extract the scale component.

Returns

IObservable<Vector3>

A Vector3 object representing the scale component of each 4x4 matrix in the sequence.