Vector4 Extensions
More...
|
static float | SumComponents (this Vector4 vector) |
| Returns the sum of all components of a vector4 More...
|
|
static Vector4 | MMSetX (this Vector4 vector, float newValue) |
| Sets the x value of a vector More...
|
|
static Vector4 | MMSetY (this Vector4 vector, float newValue) |
| Sets the y value of a vector More...
|
|
static Vector4 | MMSetZ (this Vector4 vector, float newValue) |
| Sets the z value of a vector More...
|
|
static Vector4 | MMSetW (this Vector4 vector, float newValue) |
| Sets the z value of a vector More...
|
|
static Vector4 | MMInvert (this Vector4 newValue) |
| Inverts a vector More...
|
|
static Vector4 | MMProject (this Vector4 vector, Vector4 projectedVector) |
| Projects a vector on another More...
|
|
static Vector4 | MMReject (this Vector4 vector, Vector4 rejectedVector) |
| Rejects a vector on another More...
|
|
static Vector4 | MMRound (this Vector4 vector) |
| Rounds all components of a vector More...
|
|
◆ MMInvert()
static Vector4 MoreMountains.Tools.MMVector4Extensions.MMInvert |
( |
this Vector4 |
newValue | ) |
|
|
static |
Inverts a vector
- Parameters
-
- Returns
◆ MMProject()
static Vector4 MoreMountains.Tools.MMVector4Extensions.MMProject |
( |
this Vector4 |
vector, |
|
|
Vector4 |
projectedVector |
|
) |
| |
|
static |
Projects a vector on another
- Parameters
-
- Returns
◆ MMReject()
static Vector4 MoreMountains.Tools.MMVector4Extensions.MMReject |
( |
this Vector4 |
vector, |
|
|
Vector4 |
rejectedVector |
|
) |
| |
|
static |
Rejects a vector on another
- Parameters
-
- Returns
◆ MMRound()
static Vector4 MoreMountains.Tools.MMVector4Extensions.MMRound |
( |
this Vector4 |
vector | ) |
|
|
static |
Rounds all components of a vector
- Parameters
-
- Returns
◆ MMSetW()
static Vector4 MoreMountains.Tools.MMVector4Extensions.MMSetW |
( |
this Vector4 |
vector, |
|
|
float |
newValue |
|
) |
| |
|
static |
Sets the z value of a vector
- Parameters
-
- Returns
◆ MMSetX()
static Vector4 MoreMountains.Tools.MMVector4Extensions.MMSetX |
( |
this Vector4 |
vector, |
|
|
float |
newValue |
|
) |
| |
|
static |
Sets the x value of a vector
- Parameters
-
- Returns
◆ MMSetY()
static Vector4 MoreMountains.Tools.MMVector4Extensions.MMSetY |
( |
this Vector4 |
vector, |
|
|
float |
newValue |
|
) |
| |
|
static |
Sets the y value of a vector
- Parameters
-
- Returns
◆ MMSetZ()
static Vector4 MoreMountains.Tools.MMVector4Extensions.MMSetZ |
( |
this Vector4 |
vector, |
|
|
float |
newValue |
|
) |
| |
|
static |
Sets the z value of a vector
- Parameters
-
- Returns
◆ SumComponents()
static float MoreMountains.Tools.MMVector4Extensions.SumComponents |
( |
this Vector4 |
vector | ) |
|
|
static |
Returns the sum of all components of a vector4
- Parameters
-
- Returns
The documentation for this class was generated from the following file: