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