Visual3D Game EngineAPI Documentation for XNA, C#, VB, and .NET
Assembly: Visual3D.Engine (in Visual3D.Engine.dll) Version: 1.0.0.0 (1.0.0.0)
Sets the scaling factor of the texture.
Namespace: Visual3D.Graphics3DAssembly: Visual3D.Engine (in Visual3D.Engine.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
| C# | Visual Basic |
public void SetTextureScale( float u, float v )
Public Sub SetTextureScale ( _ u As Single, _ v As Single _ )
Parameters
- u
- Single
The value by which the texture is to be scaled horizontally.
- v
- Single
The value by which the texture is to be scaled vertically.
Remarks
This method sets the scale element of the texture transformation, and is easier to use than
setTextureTransform if you are combining translation, scaling and rotation in your texture transformation. Again if you want
to animate these values you need to use a Controller (see ControllerManager and it's methods for
more information).
Has no effect in the programmable pipeline.