DarkBASIC Professional Help File

DX11 SET LIMB TEXCOORD SCALING

Scales the uv coordinates of the specified limb 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 limb,
and should probably not be used in realtime if efficiency is desired.
Also note that the vertex data of the parent limb will be changed if this is called for an instance, thus changing the UV scaling of all instances
of that particular limb.

Syntax

    DX11 SET LIMB TEXCOORD SCALING limb, uScale, vScale, [updateChildLimbs]

Parameters

    limb

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

    uScale

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

    vScale

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

    [Optional] updateChildLimbs

> Boolean
> Set to true to set the same UV scaling for all child limbs of the given one too. Defaults to false which means only the specified limb will be updated.

Returns

This function does not return a value.

See also

LIMB Functions Menu
DX11 Function Categories