C4 Engine
C4 Engine API Documentation

class BoxShaftEffect

Defined in:  C4Shafts.h
The BoxShaftEffect class represents a box light shaft effect node in a world.

class BoxShaftEffect final : public ShaftEffect


BoxShaftEffect(const Vector3D& size, const ColorRGBA& color);

size 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.
color The color of the light shaft.
The BoxShaftEffect class represents a light shaft effect node having a rectangular cross section whose dimensions are specified by the size parameter.
Base Classes
ShaftEffect A box shaft effect is a specific type of shaft effect.
See Also