C4 Engine
C4 Engine API Documentation

class CylinderShaftEffect

Defined in:  C4Shafts.h
The CylinderShaftEffect class represents a cylinder light shaft effect node in a world.
Definition

class CylinderShaftEffect final : public ShaftEffect

Constructor

CylinderShaftEffect(const Vector2D& size, float height, const ColorRGBA& color);

Parameters
size The size of the light shaft's cross section.
height The height of the light shaft.
color The color of the light shaft.
Description
The CylinderShaftEffect class represents a light shaft effect node having an elliptical cross section whose dimensions are specified by the size parameter.
Base Classes
ShaftEffect A cylinder shaft effect is a specific type of shaft effect.
See Also

CylinderShaftEffectObject