Renderable::GetTransparentPosition
Defined in:
Returns the transparent position pointer.
C4Renderable.h
Prototype
const Point3D *GetTransparentPosition(void) const;
Description
The GetTransparentPosition
function returns the pointer to a renderable object's transparent position. This position is specified in world-space coordinates and represents the general location of a transparent object. Renderable objects having a transparent position are sorted and rendered from back to front with respect to the camera view direction.If a renderable object has an attachment specified with the
Renderable::SetTransparentAttachment
function, then the transparent position is ignored, and the object is always rendered immediately before its attachment.Initially, the transparent position is
nullptr
.
See Also
Renderable::SetTransparentPosition