Table of Contents

Class CreateMatrix3

Namespace
Bonsai.Shaders
Assembly
Bonsai.Shaders.dll

Represents an operator that creates a 3x3 matrix containing 3D rotation and scale.

public class CreateMatrix3 : Source<Matrix3>
Inheritance
CreateMatrix3
Inherited Members

Properties

Row0

Gets or sets the top row of the matrix.

[TypeConverter(typeof(NumericRecordConverter))]
public Vector3 Row0 { get; set; }

Property Value

Vector3

Row1

Gets or sets the second row of the matrix.

[TypeConverter(typeof(NumericRecordConverter))]
public Vector3 Row1 { get; set; }

Property Value

Vector3

Row2

Gets or sets the bottom row of the matrix.

[TypeConverter(typeof(NumericRecordConverter))]
public Vector3 Row2 { get; set; }

Property Value

Vector3

Methods

Generate()

Generates an observable sequence that contains a single 3x3 matrix with the specified rows.

public override IObservable<Matrix3> Generate()

Returns

IObservable<Matrix3>

A sequence containing the created Matrix3 object.

Generate<TSource>(IObservable<TSource>)

Generates an observable sequence of 3x3 matrices with the specified rows, and where each Matrix3 object is emitted only when an observable sequence emits a notification.

public IObservable<Matrix3> Generate<TSource>(IObservable<TSource> source)

Parameters

source IObservable<TSource>

The sequence containing the notifications used for emitting new matrices.

Returns

IObservable<Matrix3>

The sequence of created Matrix3 values.

Type Parameters

TSource

The type of the elements in the source sequence.