NextFloat2Direction()
Returns a unit length float2 vector representing a uniformly random 2D direction.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Method
- Namespace: Unity.Mathematics
- Assembly: UnityEngine.MathematicsModule
public float2 NextFloat2Direction()
Returns
Type | Description |
|---|---|
| float2 | A uniformly random unit length float2 vector. |