Table of Contents

Class CreateVector3

Namespace
Bonsai.Shaders
Assembly
Bonsai.Shaders.dll

Represents an operator that creates a 3D vector element.

public class CreateVector3 : Source<Vector3>
Inheritance
CreateVector3
Inherited Members

Properties

X

Gets or sets the x-component of the vector.

public float X { get; set; }

Property Value

float

Y

Gets or sets the y-component of the vector.

public float Y { get; set; }

Property Value

float

Z

Gets or sets the z-component of the vector.

public float Z { get; set; }

Property Value

float

Methods

Generate()

Generates an observable sequence that returns a 3D vector element.

public override IObservable<Vector3> Generate()

Returns

IObservable<Vector3>

A sequence containing the created Vector3 object.

Generate<TSource>(IObservable<TSource>)

Generates an observable sequence of 3D vectors, where each Vector3 object is emitted only when an observable sequence emits a notification.

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

Parameters

source IObservable<TSource>

The sequence containing the notifications used for emitting new vectors.

Returns

IObservable<Vector3>

The sequence of created Vector3 values.

Type Parameters

TSource

The type of the elements in the source sequence.