MaxAbsComponent
Get the maximum absolute value component from the specified vector.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: UnityEngine.LowLevelPhysics2D
- Assembly: UnityEngine.Physics2DModule
MaxAbsComponent(Vector2)
Get the maximum absolute value component from the specified vector.
public static float MaxAbsComponent(Vector2 vector)
Parameters
The vector to examine.
Returns
Type | Description |
|---|---|
| float | The calculated component. |
MaxAbsComponent(Vector3)
Get the maximum absolute value component from the specified vector.
public static float MaxAbsComponent(Vector3 vector)
Parameters
The vector to examine.
Returns
Type | Description |
|---|---|
| float | The calculated component. |