RenderWare V2.1

Previous Page Index Next Page

RwTexture *

RwSetTextureFrameStep(RwTexture *texture, RwInt32 step);

Description

Sets the texture’s current frame step size. This is the number of frames by which the current frame index is incremented or decremented by a call to RwTextureNextFrame().

Arguments

texture Pointer to the texture.

step Number of frames to increment or decrement per call to RwTextureNextFrame().

Return Value

The argument texture if successful, and NULL otherwise.

Comments

A value of +1 (the default) will play the texture "movie" forward, one frame at a time. A value of -1 will play the "movie" backwards. Other values will play the "movie" at different speeds.

See Also

RwGetTextureFrame()

RwGetTextureFrameStep()

RwGetTextureNumFrames()

RwSetTextureFrame()

RwTextureNextFrame()