DarkBASIC Professional Help File

DX11 SET OBJECT SCALE

Sets the scale of the given object.
Note that unlike the DBPro function for doing this, the size values are direct scale factors instead of percentages.
This means that (1.0, 1.0, 1.0) is the full scale of an object, (0.5, 0.5, 0.5) cuts its scale in half and (100.0, 100.0, 100.0) will increase
its scale a hundred-fold.

Syntax

    DX11 SET OBJECT SCALE object, x, y, z

Parameters

    object

> Dword
> The object to set the new scale of.

    x

> Float
> The new X scale of the specified object.

    y

> Float
> The new Y scale of the specified object.

    z

> Float
> The new Z scale of the specified object.

Returns

This function does not return a value.

See also

OBJECT Functions Menu
DX11 Function Categories