Table of Contents

Class UpdateTransform

Namespace
Bonsai.Shaders.Rendering
Assembly
Bonsai.Shaders.Rendering.dll

Represents an operator that updates the transform matrix of the specified scene node.

public class UpdateTransform : Sink<Matrix4>
Inheritance
UpdateTransform
Inherited Members

Properties

NodeName

Gets or sets the name of the scene node to update. If no name is specified, the root node will be updated.

public string NodeName { get; set; }

Property Value

string

SceneName

Gets or sets the name of the scene to update.

[TypeConverter(typeof(SceneNameConverter))]
public string SceneName { get; set; }

Property Value

string

Methods

Process(IObservable<Matrix4>)

Updates the transform matrix of the specified scene node using each of the matrix values in an observable sequence.

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

Parameters

source IObservable<Matrix4>

A sequence of Matrix4 objects representing the transform matrix used to render the scene node.

Returns

IObservable<Matrix4>

An observable sequence that is identical to the source sequence but where there is an additional side effect of updating the transform matrix used to render the scene node.