get_rotation
Description:
[ Version ( deprecated = true , deprecated_since = "1.12" , since = "0.8" ) ]
public double get_rotation (RotateAxis axis, out float x, out float y, out float z)
public double get_rotation (RotateAxis axis, out float x, out float y, out float z)
Warning: get_rotation is deprecated since 1.12.
Retrieves the angle and center of rotation on the given axis, set using set_rotation.
Note:
Use get_rotation_angle and get_pivot_point instead.
Parameters:
this |
a Actor |
axis |
the axis of rotation |
x |
return value for the X coordinate of the center of rotation |
y |
return value for the Y coordinate of the center of rotation |
z |
return value for the Z coordinate of the center of rotation |
Returns:
the angle of rotation |