Class CreateCubemapCamera
Represents an operator that generates a sequence of perspective camera objects which can be used to render a dynamic cubemap texture.
public class CreateCubemapCamera : Source<Camera>
- Inheritance
-
CreateCubemapCamera
- Inherited Members
Properties
Eye
Gets or sets the eye, or camera position, in the world coordinate frame.
[TypeConverter(typeof(NumericRecordConverter))]
public Vector3 Eye { get; set; }
Property Value
FarClip
Gets or sets the distance to the far clip plane.
public float FarClip { get; set; }
Property Value
NearClip
Gets or sets the distance to the near clip plane.
public float NearClip { get; set; }
Property Value
Methods
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.