DarkBASIC Professional Help File

DX11 SET OBJECT TEXCOORD SCALING

Scales the uv coordinates of the specified object by the given factors.
This function actually changes the vertex data of the underlying mesh(es). This operation can be slow, depending on the complexity of the object,
and should probably not be used in realtime if efficiency is desired.
Also note that the vertex data of the parent object will be changed if this is called for an instance, thus changing the UV scaling of all instances
of that particular object.

Syntax

    DX11 SET OBJECT TEXCOORD SCALING object, uScale, vScale

Parameters

    object

> Dword
> The object to set the texcoord scaling for.

    uScale

> Float
> The factor by which all U coordinates of the object will be multiplied.

    vScale

> Float
> The factor by which all V coordinates of the object will be multiplied.

Returns

This function does not return a value.

See also

OBJECT Functions Menu
DX11 Function Categories