class TruncatedPyramidShaftEffect
Defined in:
The C4Shafts.hTruncatedPyramidShaftEffect class represents a truncated pyramid light shaft effect node in a world.
Definition
class TruncatedPyramidShaftEffect final : public ShaftEffect
Constructor
TruncatedPyramidShaftEffect(const Vector2D& size, float height, float ratio, const ColorRGBA& color);
Parameters
size |
The size of the light shaft's cross section. |
height |
The height of the light shaft. |
ratio |
The ratio of the upper size to the base size. |
color |
The color of the light shaft. |
Description
The TruncatedPyramidShaftEffect class represents a light shaft effect node having a rectangular cross section at the base whose dimensions are specified by the size parameter. The size of the light shaft tapers over its height to the ratio specified by the ratio parameter.
Base Classes
ShaftEffect |
A truncated pyramid shaft effect is a specific type of shaft effect. |
See Also
