d3d_transform_add_scaling(xs, ys, zs)
|xs||The x scale amount.|
|ys||The y scale amount.|
|zs||The z scale amount.|
This transform can be used to scale the object currently being
drawn, with the amount being scaled relative to any previous
transforms rather than absolute (as would be the case with d3d_transform_set_scaling).
var tex = background_get_texture(bck_Wall);
d3d_transform_add_scaling(2, 2, 2);
d3d_draw_block(-50, -50, -50, 50, 50, 50, tex, 100, 100);
The above code tells GameMaker: Studio to draw the block and then scale it twice as much over any previous transforms.