Table of Contents

Class MatrixTransform

Namespace
Bonsai.Shaders
Assembly
Bonsai.Shaders.dll

Provides an abstract base class for operators specifying cumulative matrix transform operations.

public abstract class MatrixTransform : Transform<Matrix4, Matrix4>
Inheritance
MatrixTransform
Derived
Inherited Members

Properties

Order

Gets or sets a value specifying the order of relative matrix transform operations.

public MatrixOrder Order { get; set; }

Property Value

MatrixOrder

Methods

CreateTransform(out Matrix4)

When overridden in a derived class, initializes the matrix transform that should be combined with each element in the sequence.

protected abstract void CreateTransform(out Matrix4 result)

Parameters

result Matrix4

When this method returns, contains the relative matrix transform to be combined with each element in the sequence.

Process(IObservable<Matrix4>)

Performs a relative matrix transform operation on each matrix in an observable sequence.

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

Parameters

source IObservable<Matrix4>

The sequence of transform matrices to be combined with the specified relative matrix transform.

Returns

IObservable<Matrix4>

A sequence of Matrix4 objects representing the combined transform.