Class CreateLookAt
Represents an operator that creates a view matrix specifying a camera looking at a target position.
public class CreateLookAt : Source<Matrix4>
- Inheritance
-
CreateLookAt
- Inherited Members
Constructors
- CreateLookAt()
Initializes a new instance of the CreateLookAt class.
Properties
- Eye
Gets or sets the eye, or camera position, in the world coordinate frame.
- Target
Gets or sets the target position in the world coordinate frame.
- Up
Gets or sets a 3D vector specifying the up vector of the camera, in the world coordinate frame. Should not be parallel to the camera direction.
Methods
- Generate()
Generates an observable sequence that contains a single view matrix representing a camera with the specified position and up vector, looking at the specified target.
- Generate<TSource>(IObservable<TSource>)
Generates an observable sequence of view matrices representing a camera with the specified position and up vector, looking at the specified target, where each Matrix4 object is emitted only when an observable sequence emits a notification.