MinAbsComponent
Get the minimum absolute value component from the specified vector.
Read time 1 minuteLast updated 7 days ago
Definition
- Type: Method
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
MinAbsComponent(Vector2)
Get the minimum absolute value component from the specified vector.
public static float MinAbsComponent(Vector2 vector)
Parameters
The vector to examine.
Returns
Type | Description |
|---|---|
| float | The calculated component. |
MinAbsComponent(Vector3)
Get the minimum absolute value component from the specified vector.
public static float MinAbsComponent(Vector3 vector)
Parameters
The vector to examine.
Returns
Type | Description |
|---|---|
| float | The calculated component. |