IndirectPortal::GetIndirectTransform
Defined in:
Returns the indirect transform.
C4Portals.h
Prototype
const Transform4D& GetIndirectTransform(void) const;
Description
The GetIndirectTransform
function returns the coordinate transform that an indirect portal applies to the camera. This determines what the camera position and orientation is on the "other side" of the portal.For indirect portals that target the reflection buffer, the default indirect transform is a reflection in the world-space plane of the portal. For indirect portals that target any other rendering buffer, the default indirect transform is the identity, meaning that the camera position and orientation do not change.