FromDegrees(float)
Create a rotation with the specified rotation, in degrees. See PhysicsRotate.FromRadians.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
public static PhysicsRotate FromDegrees(float degrees)
Parameters
The rotation angle specified, in degrees.
Returns
Type | Description |
|---|---|
| PhysicsRotate | The rotation represented by the specified rotation, in degrees. |