BoxShaftEffectObjectclass encapsulates data pertaining to a box light shaft effect.
class BoxShaftEffectObject final : public ShaftEffectObject, public BoxVolume
BoxShaftEffectObject(const Vector3D& size, const ColorRGBA& color);
||The size of the light shaft's cross section in the x and y components, and the height of the light shaft in the z component.|
||The color of the light shaft.|
BoxShaftEffectObjectclass encapsulates data pertaining to a box light shaft effect. In its local coordinate space, the rectangular cross section of a box light shaft has one of its corners at the origin, and the components of the
sizeparameter define the extents of the rectangle 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.