Renderable::SetTransparentPosition
Defined in:
Sets the transparent position pointer.
C4Renderable.h
Prototype
void SetTransparentPosition(const Point3D *position);
Parameters
position |
A pointer to a world-space position. |
Description
The SetTransparentPosition
function sets 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