Translate (Material stage keyword)

Description

The translate keyword translates a stage by the given offset.

Usage

translate [x], [y]

Parameters

  • = The x offset
  • [y] = The y offset

Example

Scroll a stage at a constant rate

{
   translate  time, time
   map     textures/custom/foo.tga
}

Notes

The scroll keyword is an alias for this keyword.