C4 Engine
C4 Engine API Documentation

class TubeEffectObject

Defined in:  C4Effects.h
The TubeEffectObject class encapsulates data pertaining to a polyboard tube effect.
Definition

class TubeEffectObject : public EffectObject

Constructor

TubeEffectObject(const Path *path, float radius, const ColorRGBA& color, const char *textureName = nullptr);

Parameters
path The path along which the tube is created.
radius The radius of the tube.
color The color of the tube.
textureName The name of the texture applied to the tube.
Description


Base Classes
EffectObject A TubeEffectObject is an object that can be shared by multiple tube effect nodes.
See Also

TubeEffect