Vector2 extensions
More...
|
static Vector2 | MMRotate (this Vector2 vector, float angleInDegrees) |
| Rotates a vector2 by angleInDegrees More...
|
|
static Vector2 | MMSetX (this Vector2 vector, float newValue) |
| Sets the X part of a Vector2 More...
|
|
static Vector2 | MMSetY (this Vector2 vector, float newValue) |
| Sets the Y part of a Vector2 More...
|
|
◆ MMRotate()
static Vector2 MoreMountains.Tools.MMVector2Extensions.MMRotate |
( |
this Vector2 |
vector, |
|
|
float |
angleInDegrees |
|
) |
| |
|
static |
Rotates a vector2 by angleInDegrees
- Parameters
-
- Returns
◆ MMSetX()
static Vector2 MoreMountains.Tools.MMVector2Extensions.MMSetX |
( |
this Vector2 |
vector, |
|
|
float |
newValue |
|
) |
| |
|
static |
Sets the X part of a Vector2
- Parameters
-
- Returns
◆ MMSetY()
static Vector2 MoreMountains.Tools.MMVector2Extensions.MMSetY |
( |
this Vector2 |
vector, |
|
|
float |
newValue |
|
) |
| |
|
static |
Sets the Y part of a Vector2
- Parameters
-
- Returns
The documentation for this class was generated from the following file: