|
static Vector2 | Clamp01 (this Vector2 vector) |
| Clamps the given Vector2 to 0.0 - 1.0 range.
|
|
static Vector3 | Clamp01 (this Vector3 vector) |
| Clamps the given Vector3 to 0.0 - 1.0 range.
|
|
static float | Sum (this Vector2 v) |
| Returns the sum of all components of the input vector.
|
|
static float | Sum (this Vector3 v) |
| Returns the sum of all components of the input vector.
|
|
static float | Sum (this Vector4 v) |
| Returns the sum of all components of the input vector.
|
|
static int | Sum (this Vector2Int v) |
| Returns the sum of all components of the input vector.
|
|
static int | Sum (this Vector3Int v) |
| Returns the sum of all components of the input vector.
|
|
static Vector2 | SnapToStep (this in Vector2 vec, float step) |
|
static Vector3 | SnapToStep (this in Vector3 vec, float step) |
|
static Vector2 | Remainder (this in Vector2 vec, float value) |
|
static Vector3 | Remainder (this in Vector3 vec, float value) |
|
◆ Clamp01() [1/2]
static Vector2 HexVectorMath.Clamp01 |
( |
this Vector2 | vector | ) |
|
|
static |
Clamps the given Vector2 to 0.0 - 1.0 range.
◆ Clamp01() [2/2]
static Vector3 HexVectorMath.Clamp01 |
( |
this Vector3 | vector | ) |
|
|
static |
Clamps the given Vector3 to 0.0 - 1.0 range.
◆ Remainder() [1/2]
static Vector2 HexVectorMath.Remainder |
( |
this in Vector2 | vec, |
|
|
float | value ) |
|
inlinestatic |
◆ Remainder() [2/2]
static Vector3 HexVectorMath.Remainder |
( |
this in Vector3 | vec, |
|
|
float | value ) |
|
inlinestatic |
◆ SnapToStep() [1/2]
static Vector2 HexVectorMath.SnapToStep |
( |
this in Vector2 | vec, |
|
|
float | step ) |
|
inlinestatic |
◆ SnapToStep() [2/2]
static Vector3 HexVectorMath.SnapToStep |
( |
this in Vector3 | vec, |
|
|
float | step ) |
|
inlinestatic |
◆ Sum() [1/5]
static float HexVectorMath.Sum |
( |
this Vector2 | v | ) |
|
|
static |
Returns the sum of all components of the input vector.
◆ Sum() [2/5]
static int HexVectorMath.Sum |
( |
this Vector2Int | v | ) |
|
|
static |
Returns the sum of all components of the input vector.
◆ Sum() [3/5]
static float HexVectorMath.Sum |
( |
this Vector3 | v | ) |
|
|
static |
Returns the sum of all components of the input vector.
◆ Sum() [4/5]
static int HexVectorMath.Sum |
( |
this Vector3Int | v | ) |
|
|
static |
Returns the sum of all components of the input vector.
◆ Sum() [5/5]
static float HexVectorMath.Sum |
( |
this Vector4 | v | ) |
|
|
static |
Returns the sum of all components of the input vector.
The documentation for this class was generated from the following file: