set_rotation_angle


Description:

[ Version ( since = "1.12" ) ]
public void set_rotation_angle (RotateAxis axis, double angle)

Sets the angle of rotation of a Actor on the given axis.

This function is a convenience for setting the rotation properties rotation_angle_x, rotation_angle_y, and rotation_angle_z.

The center of rotation is established by the pivot_point property.

Parameters:

this

a Actor

axis

the axis to set the angle one

angle

the angle of rotation, in degrees