ArcBasicDocs

PositionTexture

Positions a texture.

PositionTexture ( texture,u_position#,v_position# )

Parameters

texture
the texture's handle.
u_position#
how far to slide it across: 1 is the texture's whole width.
v_position#
how far to slide it down.

Description

Slides a texture across the surfaces it is on. Changing it a little each frame makes scrolling water, conveyor belts or clouds.

See also