Atan2(float, float)
Calculate the arc-tangent i.e. the angle of the provided slope y/x. This operates as deterministically as possible across platforms.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Method
- Namespace: UnityEngine.LowLevelPhysics2D
- Assembly: UnityEngine.Physics2DModule
public static float Atan2(float y, float x)
Parameters
Returns
Type | Description |
|---|---|
| float | The angle in radians. |