set_simple_transform


Description:

public void set_simple_transform (double x, double y, double scale, double rotation)

A convenience function to set the item model's transformation matrix.

Parameters:

this

an item model.

x

the x coordinate of the origin of the model's coordinate space.

y

the y coordinate of the origin of the model's coordinate space.

scale

the scale of the model.

rotation

the clockwise rotation of the model, in degrees.