Files
RCBASIC4/doc/doc_files/scaleterraintexture.html
2026-02-26 15:33:51 -06:00

26 lines
938 B
HTML

<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="style.css">
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
<title>ScaleTerrainTexture [RCBasic Doc] </title>
</head>
<body>
<p><h2>Sub ScaleTerrainTexture( actor, scale, scale2 ) </h2></p>
<p>
Scales the base texture, similar to makePlanarTextureMapping.
</p>
<ul>
<li>
scale - The scaling amount. Values above 1.0 increase the number of time the texture is drawn on the terrain. Values below 0 will decrease the number of times the texture is drawn on the terrain. Using negative values will flip the texture, as well as still scaling it.
</li>
<li>
scale2 - If set to 0 (default value), this will set the second texture coordinate set to the same values as in the first set. If this is another value than zero, it will scale the second texture coordinate set by this value.
</li>
</ul>
<p>
</p>
</body>
</html>