class ScrollSprocket
Defined in:
The C4Sprockets.h
ScrollSprocket
class causes a widget's texture coordinates to scroll.
Definition
class ScrollSprocket final : public Sprocket
Constructor
ScrollSprocket(const Vector2D& speed);
Parameters
speed |
The scrolling speed, in pixels per millisecond. |
Description
The ScrollSprocket
class continually scrolls the texture coordinates of an image widget at the linear rate specified by the speed
parameter.
Base Classes
Sprocket |
A ScrollSprocket is a specific type of sprocket.
|