Table of Contents

Class ExtractTranslation

Namespace
Bonsai.Shaders
Assembly
Bonsai.Shaders.dll

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

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

Methods

Process(IObservable<Matrix4>)

Returns the translation 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 translation component.

Returns

IObservable<Vector3>

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