Camera Class |
Namespace: DigitalRune.Graphics
The Camera type exposes the following members.
Name | Description | |
---|---|---|
Clone |
Creates a new Camera that is a clone (deep copy) of the current instance.
| |
CloneCore |
Makes the instance a clone (deep copy) of the specified
Camera.
| |
CreateInstanceCore |
When implemented in a derived class, creates a new instance of the Camera
derived class.
| |
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
LastProjection |
Gets or sets the projection transformation of the last frame.
| |
Name |
Gets or sets the name of this camera.
| |
Projection |
Gets the projection.
|
This class has a Projection, which defines the camera frustum and the projection transformation.
The view transformation (position and orientation of the camera in the world) is defined by creating a CameraNode in a IScene. Multiple CameraNodes can share the same Camera object.
Cloning:
Cameras are cloneable. When Clone is called all properties
including the Projection are duplicated (deep copy).