Table of Contents

Class WarpPerspective

Namespace
Bonsai.Shaders
Assembly
Bonsai.Shaders.dll

Represents an operator that creates a warp perspective transform matrix for planar projection mapping.

[Combinator]
[WorkflowElementCategory(ElementCategory.Transform)]
public class WarpPerspective
Inheritance
WarpPerspective
Inherited Members

Properties

Destination

Gets or sets the coordinates of the four quadrangle vertices specifying the perspective transform.

public Point2f[] Destination { get; set; }

Property Value

Point2f[]

Methods

Process<TSource>(IObservable<TSource>)

Creates a warp perspective transform matrix for planar projection mapping whenever an observable sequence emits a notification.

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

Parameters

source IObservable<TSource>

The sequence of notifications used to create the perspective transform.

Returns

IObservable<Matrix4>

The sequence of created Matrix4 objects representing the perspective transform.

Type Parameters

TSource

The type of the elements in the source sequence.