C4 Engine
C4 Engine API Documentation

class TruncatedConeShaftEffect

Defined in:  C4Shafts.h
The TruncatedConeShaftEffect class represents a truncated cone light shaft effect node in a world.
Definition

class TruncatedConeShaftEffect final : public ShaftEffect

Constructor

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

Parameters
size The size of the light shaft's cross section at the base.
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 TruncatedConeShaftEffect class represents a light shaft effect node having an elliptical 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 cone shaft effect is a specific type of shaft effect.
See Also

TruncatedConeShaftEffectObject