set_pivot_point


Description:

[ Version ( since = "1.12" ) ]
public void set_pivot_point (float pivot_x, float pivot_y)

Sets the position of the pivot_point around which the scaling and rotation transformations occur.

The pivot point's coordinates are in normalized space, with the (0, 0) point being the top left corner of the actor, and the (1, 1) point being the bottom right corner.

Parameters:

this

a Actor

pivot_x

the normalized X coordinate of the pivot point

pivot_y

the normalized Y coordinate of the pivot point