![]() |
• Extras Plugin | ||||||||||
|
API Links
Developer Links
|
class ShockwaveEffectDefined in:
The C4ExtraEffects.hShockwaveEffect class represents a shockwave effect node in a world.
Definition
Constructor
Parameters
Description
The ShockwaveEffect class produces the effect of an expanding shockwave ring that is rendered into the distortion buffer. The shockwave begins with a radius of zero and expands at the rate specified by the speed parameter until the radius exceeds the maximum size given by the radius parameter. When the maximum radius is reached, the shockwave effect is automatically destroyed.The texture map specified by the textureName parameter should contain a distortion pattern in the red and green channels. The shockwave effect uses the center pixel of the texture for the entire inner edge of the expanding ring, and the boundary of an inscribed circle in the texture image corresponds to the outer edge of the ring.
Base Classes
|