Method Process
Process(IObservable<Matrix4>)
Updates the projection matrix used to render the scene using each of the matrix values in an observable sequence.
public IObservable<Matrix4> Process(IObservable<Matrix4> source)
Parameters
sourceIObservable<Matrix4>A sequence of Matrix4 objects representing the projection matrix used to render the scene, if no camera is specified.
Returns
- IObservable<Matrix4>
An observable sequence that is identical to the
sourcesequence but where there is an additional side effect of updating the projection matrix used to render the scene.
Process<TSource>(IObservable<TSource>)
Updates the projection matrix used to render the scene whenever an observable sequence emits a notification.
public override IObservable<TSource> Process<TSource>(IObservable<TSource> source)
Parameters
sourceIObservable<TSource>The sequence of notifications used to update the projection matrix.
Returns
- IObservable<TSource>
An observable sequence that is identical to the
sourcesequence but where there is an additional side effect of updating the projection matrix used to render the scene whenever the sequence emits a notification.
Type Parameters
TSourceThe type of the elements in the
sourcesequence.