Class UpdateViewMatrix
Represents an operator that updates the view matrix used to render the specified scene.
public class UpdateViewMatrix : Sink
- Inheritance
-
UpdateViewMatrix
- Inherited Members
Properties
CameraName
Gets or sets the name of the camera used to render the scene.
public string CameraName { get; set; }
Property Value
Remarks
If a sequence of view matrices is provided to the operator, this property is optional.
SceneName
Gets or sets the name of the scene to update.
[TypeConverter(typeof(SceneNameConverter))]
public string SceneName { get; set; }
Property Value
Methods
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.