C4 Engine
C4 Engine API Documentation

class RandomizeSprocket

Defined in:  C4Sprockets.h
The RandomizeSprocket class causes a widget's texture coordinates to change randomly.
Definition

class RandomizeSprocket final : public Sprocket

Constructor

RandomizeSprocket();

Description
The RandomizeSprocket class continually assigns a random offset to the texture coordinates of an image widget. This can be useful for producing effects like television static with a noise texture.
Base Classes
Sprocket A RandomizeSprocket is a specific type of sprocket.