Sets autorotation properties in degrees.
Namespace:
SGP.XSpaceAssembly: SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825
Syntax
C# |
---|
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)] public void SetAutoRotationDgr( Vector3 axis, float speed, float angle ) |
Parameters
- axis
- Type: Vector3
The Vector3 vector defines the sprite autorotation axis.
- speed
- Type: System..::.Single
Defines the rotation speed in degrees per second.
- angle
- Type: System..::.Single
Defines the rotation angle in the autorotation, in degrees.