Unravel Engine C# Reference
|
Public Member Functions | |
Vector3 (float x, float y, float z) | |
Vector3 (float x, float y) | |
void | Set (float newX, float newY, float newZ) |
void | Scale (Vector3 scale) |
override int | GetHashCode () |
override bool | Equals (object other) |
bool | Equals (Vector3 other) |
void | Normalize () |
override string | ToString () |
string | ToString (string format) |
string | ToString (string format, IFormatProvider formatProvider) |
Static Public Member Functions | |
static Vector3 | Slerp (Vector3 a, Vector3 b, float t) |
static Vector3 | SlerpClamped (Vector3 a, Vector3 b, float t) |
static Vector3 | Lerp (Vector3 a, Vector3 b, float t) |
static Vector3 | LerpUnclamped (Vector3 a, Vector3 b, float t) |
static Vector3 | MoveTowards (Vector3 current, Vector3 target, float maxDistanceDelta) |
static Vector3 | SmoothDamp (Vector3 current, Vector3 target, ref Vector3 currentVelocity, float smoothTime, float maxSpeed, float deltaTime) |
static Vector3 | Scale (Vector3 a, Vector3 b) |
static Vector3 | Cross (Vector3 lhs, Vector3 rhs) |
static Vector3 | Reflect (Vector3 inDirection, Vector3 inNormal) |
static Vector3 | Normalize (Vector3 value) |
static float | Dot (Vector3 lhs, Vector3 rhs) |
static Vector3 | Project (Vector3 vector, Vector3 onNormal) |
static Vector3 | ProjectOnPlane (Vector3 vector, Vector3 planeNormal) |
static float | Angle (Vector3 from, Vector3 to) |
static float | SignedAngle (Vector3 from, Vector3 to, Vector3 axis) |
static float | Distance (Vector3 a, Vector3 b) |
static Vector3 | ClampMagnitude (Vector3 vector, float maxLength) |
static float | Magnitude (Vector3 vector) |
static float | SqrMagnitude (Vector3 vector) |
static Vector3 | Min (Vector3 lhs, Vector3 rhs) |
static Vector3 | Max (Vector3 lhs, Vector3 rhs) |
static Vector3 | operator+ (Vector3 a, Vector3 b) |
static Vector3 | operator- (Vector3 a, Vector3 b) |
static Vector3 | operator- (Vector3 a) |
static Vector3 | operator* (Vector3 a, float d) |
static Vector3 | operator* (float d, Vector3 a) |
static Vector3 | operator/ (Vector3 a, float d) |
static bool | operator== (Vector3 lhs, Vector3 rhs) |
static bool | operator!= (Vector3 lhs, Vector3 rhs) |
Public Attributes | |
float | x |
float | y |
float | z |
Properties | |
float | this[int index] [get, set] |
Vector3 | normalized [get] |
float | magnitude [get] |
float | sqrMagnitude [get] |
static Vector3 | zero [get] |
static Vector3 | one [get] |
static Vector3 | forward [get] |
static Vector3 | back [get] |
static Vector3 | up [get] |
static Vector3 | down [get] |
static Vector3 | left [get] |
static Vector3 | right [get] |
static Vector3 | positiveInfinity [get] |
static Vector3 | negativeInfinity [get] |
Definition at line 7 of file Vector3.cs.
Vector3.Vector3 | ( | float | x, |
float | y, | ||
float | z ) |
Definition at line 413 of file Vector3.cs.
Vector3.Vector3 | ( | float | x, |
float | y ) |
Definition at line 430 of file Vector3.cs.
Definition at line 650 of file Vector3.cs.
Definition at line 716 of file Vector3.cs.
Definition at line 494 of file Vector3.cs.
Definition at line 699 of file Vector3.cs.
Definition at line 584 of file Vector3.cs.
override bool Vector3.Equals | ( | object | other | ) |
Definition at line 512 of file Vector3.cs.
bool Vector3.Equals | ( | Vector3 | other | ) |
Definition at line 523 of file Vector3.cs.
override int Vector3.GetHashCode | ( | ) |
Definition at line 500 of file Vector3.cs.
Definition at line 291 of file Vector3.cs.
Definition at line 308 of file Vector3.cs.
|
static |
Definition at line 732 of file Vector3.cs.
Definition at line 766 of file Vector3.cs.
Definition at line 752 of file Vector3.cs.
|
static |
Definition at line 331 of file Vector3.cs.
void Vector3.Normalize | ( | ) |
Definition at line 562 of file Vector3.cs.
Definition at line 550 of file Vector3.cs.
Definition at line 818 of file Vector3.cs.
Definition at line 796 of file Vector3.cs.
Definition at line 790 of file Vector3.cs.
Definition at line 772 of file Vector3.cs.
Definition at line 784 of file Vector3.cs.
Definition at line 778 of file Vector3.cs.
Definition at line 802 of file Vector3.cs.
Definition at line 808 of file Vector3.cs.
Definition at line 598 of file Vector3.cs.
Definition at line 624 of file Vector3.cs.
Definition at line 537 of file Vector3.cs.
Definition at line 466 of file Vector3.cs.
void Vector3.Scale | ( | Vector3 | scale | ) |
Definition at line 478 of file Vector3.cs.
void Vector3.Set | ( | float | newX, |
float | newY, | ||
float | newZ ) |
Definition at line 450 of file Vector3.cs.
Definition at line 680 of file Vector3.cs.
Definition at line 251 of file Vector3.cs.
Definition at line 268 of file Vector3.cs.
|
static |
Definition at line 347 of file Vector3.cs.
|
static |
Definition at line 738 of file Vector3.cs.
override string Vector3.ToString | ( | ) |
Definition at line 834 of file Vector3.cs.
string Vector3.ToString | ( | string | format | ) |
Definition at line 850 of file Vector3.cs.
string Vector3.ToString | ( | string | format, |
IFormatProvider | formatProvider ) |
Definition at line 866 of file Vector3.cs.
float Vector3.x |
Definition at line 12 of file Vector3.cs.
float Vector3.y |
Definition at line 17 of file Vector3.cs.
float Vector3.z |
Definition at line 22 of file Vector3.cs.
|
staticget |
Definition at line 157 of file Vector3.cs.
|
staticget |
Definition at line 181 of file Vector3.cs.
|
staticget |
Definition at line 145 of file Vector3.cs.
|
staticget |
Definition at line 193 of file Vector3.cs.
|
get |
Definition at line 97 of file Vector3.cs.
|
staticget |
Definition at line 231 of file Vector3.cs.
|
get |
Definition at line 85 of file Vector3.cs.
|
staticget |
Definition at line 133 of file Vector3.cs.
|
staticget |
Definition at line 218 of file Vector3.cs.
|
staticget |
Definition at line 205 of file Vector3.cs.
|
get |
Definition at line 109 of file Vector3.cs.
|
getset |
Definition at line 45 of file Vector3.cs.
|
staticget |
Definition at line 169 of file Vector3.cs.
|
staticget |
Definition at line 121 of file Vector3.cs.