Template:VMT UVtransform: Difference between revisions
Jump to navigation
Jump to search
TomEdwards (talk | contribs) mNo edit summary |
TomEdwards (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
The default position is <code>"center .5 .5 scale 1 1 rotate 0 translate 0 0"</code>. | :The default position is <code>"center .5 .5 scale 1 1 rotate 0 translate 0 0"</code>. | ||
# <code>center</code> defines the point of rotation. Only useful if <code>rotate</code> is being used. | :# <code>center</code> defines the point of rotation. Only useful if <code>rotate</code> is being used. | ||
# <code>scale</code> fits the texture into the material the given number of times. '<code>2 1</code>' is a 50% scale in the X axis. | :# <code>scale</code> fits the texture into the material the given number of times. '<code>2 1</code>' is a 50% scale in the X axis. | ||
# <code>rotate</code> rotates the texture ''anti''-clockwise. Accepts any number, including negatives. | :# <code>rotate</code> rotates the texture ''anti''-clockwise. Accepts any number, including negatives. | ||
# <code>translate</code> shifts the texture by the given number of heights/widths. '<code>.5</code>' will shift it half-way. | :# <code>translate</code> shifts the texture by the given number of heights/widths. '<code>.5</code>' will shift it half-way. | ||
{{note|''All values'' must be included!}} | :{{note|''All values'' must be included!}} |
Revision as of 04:54, 12 July 2008
- The default position is
"center .5 .5 scale 1 1 rotate 0 translate 0 0"
.center
defines the point of rotation. Only useful ifrotate
is being used.scale
fits the texture into the material the given number of times. '2 1
' is a 50% scale in the X axis.rotate
rotates the texture anti-clockwise. Accepts any number, including negatives.translate
shifts the texture by the given number of heights/widths. '.5
' will shift it half-way.
Note:All values must be included!