Method Generate
Generate()
Generates an observable sequence of perspective camera objects which can be used to render a dynamic cubemap texture.
public override IObservable<Camera> Generate()
Returns
- IObservable<Camera>
A sequence of six Camera objects corresponding to each direction of the cubemap, respectively right (+X), left (-X), top (+Y), bottom (-Y), back (+Z), and front (-Z).
Generate<TSource>(IObservable<TSource>)
Generates an observable sequence of perspective camera objects which can be used to render a dynamic cubemap texture, where the set of of Camera objects for each cubemap is emitted only when an observable sequence emits a notification.
public IObservable<Camera> Generate<TSource>(IObservable<TSource> source)
Parameters
source
IObservable<TSource>The sequence containing the notifications used for emitting each new group of six cubemap views.
Returns
- IObservable<Camera>
The sequence of Camera objects corresponding to each direction of the cubemap, respectively right (+X), left (-X), top (+Y), bottom (-Y), back (+Z), and front (-Z), for each notification in the
source
sequence.
Type Parameters
TSource
The type of the elements in the
source
sequence.