terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
UnityEngine.Vector3 Struct Reference
+ Inheritance diagram for UnityEngine.Vector3:
+ Collaboration diagram for UnityEngine.Vector3:

Public Member Functions

 Vector3 (float x, float y, float z)
 
 Vector3 (float x, float y)
 
override int GetHashCode ()
 
override bool Equals (object other)
 
bool Equals (Vector3 other)
 
override string ToString ()
 
string ToString (string format, IFormatProvider formatProvider)
 
bool Equals (T other)
 
string ToString (string format, global::System.IFormatProvider formatProvider)
 

Static Public Member Functions

static Vector3 Lerp (Vector3 a, Vector3 b, float t)
 
static Vector3 MoveTowards (Vector3 current, Vector3 target, float maxDistanceDelta)
 
static Vector3 Scale (Vector3 a, Vector3 b)
 
static Vector3 Cross (Vector3 lhs, Vector3 rhs)
 
static Vector3 Normalize (Vector3 value)
 
static float Dot (Vector3 lhs, Vector3 rhs)
 
static float Distance (Vector3 a, Vector3 b)
 
static float Magnitude (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)
 
static Vector3 ()
 

Public Attributes

float x
 
float y
 
float z
 

Static Public Attributes

const float kEpsilon = 1E-05f
 
const float kEpsilonNormalSqrt = 1E-15f
 

Properties

float this[int index] [get, set]
 
Vector3 normalized [get, set]
 
float magnitude [get, set]
 
float sqrMagnitude [get, set]
 
static Vector3 zero [get, set]
 
static Vector3 one [get, set]
 
static Vector3 forward [get, set]
 
static Vector3 back [get, set]
 
static Vector3 up [get, set]
 
static Vector3 down [get, set]
 
static Vector3 left [get, set]
 
static Vector3 right [get, set]
 

Static Private Attributes

static readonly Vector3 zeroVector
 
static readonly Vector3 oneVector
 
static readonly Vector3 upVector
 
static readonly Vector3 downVector
 
static readonly Vector3 leftVector
 
static readonly Vector3 rightVector
 
static readonly Vector3 forwardVector
 
static readonly Vector3 backVector
 
static readonly Vector3 positiveInfinityVector
 
static readonly Vector3 negativeInfinityVector
 

Detailed Description

Definition at line 19 of file Vector3.cs.


The documentation for this struct was generated from the following file: