Facebook Twitter YouTube

class IndirectCameraObject

Defined in:  TSCameraObjects.h
The IndirectCameraObject class encapsulates data pertaining to a camera having an indirect transform. Such cameras are used for rendering recursive view effects such as mirrors or portals through which a remote area of the world can be viewed.
Definition

class IndirectCameraObject : public FrustumCameraObject

Member Functions
IndirectCameraObject::GetIndirectTransform Returns the indirect transform.
IndirectCameraObject::SetIndirectTransform Sets the indirect transform.
IndirectCameraObject::GetIndirectDeterminant Returns a value indicating whether the indirect transform contains a reflection.
IndirectCameraObject::GetIndirectClipPlane Returns the geometric clipping plane for the indirect camera.
IndirectCameraObject::SetIndirectClipPlane Sets the geometric clipping plane for the indirect camera.
Constructor

IndirectCameraObject(float focal, float aspect, const Transform4D& transform, const Vector4D& clipPlane);

Parameters
focal The focal length of the perspective projection. This determines the field of view.
aspect The aspect ratio of the projection. This is normally the ratio between the height and the width of the viewport.
transform The world-space indirect transform. This is applied to the camera's world transform.
clipPlane The world-space geometric clipping plane.
Description


Base Classes
FrustumCameraObject An IndirectCameraObject is a specific type of frustum camera object, and thus always uses a perspective projection.
See Also

IndirectCamera