Rotation XZ; In radians
More...
◆ Rotation2()
pluginbase.Helpers.Coords.Rotation2.Rotation2 |
( |
float |
x, |
|
|
float |
z |
|
) |
| |
float X
Definition: Rotation2.cs:12
float Z
Definition: Rotation2.cs:12
◆ FromDegrees()
static Rotation2 pluginbase.Helpers.Coords.Rotation2.FromDegrees |
( |
float |
x, |
|
|
float |
z |
|
) |
| |
|
static |
static float DegreeToRadian(float degree)
Degrees to radian.
Definition: MathExtensions.cs:286
Math extensions
Definition: MathExtensions.cs:7
Rotation2(float x, float z)
Definition: Rotation2.cs:16
◆ FromDirectionZUp()
static Rotation2 pluginbase.Helpers.Coords.Rotation2.FromDirectionZUp |
( |
Vector3 |
dir | ) |
|
|
static |
30 (
float)Math.Asin(dir.Z),
31 (float)Math.Atan2(dir.X, dir.Y)
Rotation2(float x, float z)
Definition: Rotation2.cs:16
◆ operator Rotation2()
static pluginbase.Helpers.Coords.Rotation2.operator Rotation2 |
( |
Vector2 |
vec | ) |
|
|
explicitstatic |
Rotation2(float x, float z)
Definition: Rotation2.cs:16
◆ operator Vector2()
static implicit pluginbase.Helpers.Coords.Rotation2.operator Vector2 |
( |
Rotation2 |
rot | ) |
|
|
static |
83 return new Vector2(rot.X, rot.Z);
◆ operator*() [1/3]
105 return new Rotation2(a.X * b.X, a.Z * b.Z);
Rotation2(float x, float z)
Definition: Rotation2.cs:16
◆ operator*() [2/3]
Rotation2(float x, float z)
Definition: Rotation2.cs:16
◆ operator*() [3/3]
Rotation2(float x, float z)
Definition: Rotation2.cs:16
◆ operator+()
95 return new Rotation2(a.X + b.X, a.Z + b.Z);
Rotation2(float x, float z)
Definition: Rotation2.cs:16
◆ operator-()
100 return new Rotation2(a.X - b.X, a.Z - b.Z);
Rotation2(float x, float z)
Definition: Rotation2.cs:16
◆ operator/()
Rotation2(float x, float z)
Definition: Rotation2.cs:16
◆ ToString()
override string pluginbase.Helpers.Coords.Rotation2.ToString |
( |
| ) |
|
128 return string.Format(
"({0}, {1})",
X,
Z);
float X
Definition: Rotation2.cs:12
float Z
Definition: Rotation2.cs:12
float pluginbase.Helpers.Coords.Rotation2.X |
float pluginbase.Helpers.Coords.Rotation2.Z |
◆ Zero
◆ DegreesX
float pluginbase.Helpers.Coords.Rotation2.DegreesX |
|
get |
◆ DegreesZ
float pluginbase.Helpers.Coords.Rotation2.DegreesZ |
|
get |
◆ Vector
Vector3 pluginbase.Helpers.Coords.Rotation2.Vector |
|
get |
◆ VectorZAxis
Vector3 pluginbase.Helpers.Coords.Rotation2.VectorZAxis |
|
get |
The documentation for this struct was generated from the following file: