CylinderShaftEffectObjectclass encapsulates data pertaining to a cylinder light shaft effect.
class CylinderShaftEffectObject final : public ShaftEffectObject, public CylinderVolume
CylinderShaftEffectObject(const Vector2D& size, float height, const ColorRGBA& color);
||The size of the light shaft's cross section.|
||The height of the light shaft.|
||The color of the light shaft.|
CylinderShaftEffectObjectclass encapsulates data pertaining to a cylinder light shaft effect. In its local coordinate space, the elliptical cross section of a cylinder light shaft has its center at the origin, and the components of the
sizeparameter define the semiaxis lengths in the positive x and y directions. The
heightparameter defines the extent of the light shaft in the z direction, but this is only used for constructing the polygonal geometry of the light shaft. The interior of the light shaft itself is rendered as if it had infinite extent in the z direction.