Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Static Public Member Functions | Public Attributes | Properties | List of all members
UnityEngine.Vector2d Struct Reference

Public Member Functions

override bool Equals (object other)
 
override int GetHashCode ()
 
void Normalize ()
 
void Scale (Vector2d scale)
 
double SqrMagnitude ()
 
override string ToString ()
 
string ToString (string format)
 
 Vector2d (double x, double y)
 

Static Public Member Functions

static double Angle (Vector2d from, Vector2d to)
 
static Vector2d ClampMagnitude (Vector2d vector, double maxLength)
 
static double Distance (Vector2d a, Vector2d b)
 
static double Dot (Vector2d lhs, Vector2d rhs)
 
static Vector2d Lerp (Vector2d from, Vector2d to, double t)
 
static Vector2d Max (Vector2d lhs, Vector2d rhs)
 
static Vector2d Min (Vector2d lhs, Vector2d rhs)
 
static Vector2d MoveTowards (Vector2d current, Vector2d target, double maxDistanceDelta)
 
static implicit operator Vector2d (Vector3 v)
 
static implicit operator Vector3d (Vector2d v)
 
static bool operator!= (Vector2d lhs, Vector2d rhs)
 
static Vector2d operator* (Vector2d a, double d)
 
static Vector2d operator* (double d, Vector2d a)
 
static Vector2d operator+ (Vector2d a, Vector2d b)
 
static Vector2d operator- (Vector2d a, Vector2d b)
 
static Vector2d operator- (Vector2d a)
 
static Vector2d operator/ (Vector2d a, double d)
 
static bool operator== (Vector2d lhs, Vector2d rhs)
 
static Vector2d Scale (Vector2d a, Vector2d b)
 
static double SqrMagnitude (Vector2d a)
 

Public Attributes

double x
 
double y
 

Properties

double magnitude [get]
 
Vector2d normalized [get]
 
static Vector2d one [get]
 
static Vector2d right [get]
 
double sqrMagnitude [get]
 
double this[int index] [get, set]
 
static Vector2d up [get]
 
static Vector2d zero [get]
 

Constructor & Destructor Documentation

UnityEngine.Vector2d.Vector2d ( double  x,
double  y 
)
inline

Member Function Documentation

static double UnityEngine.Vector2d.Angle ( Vector2d  from,
Vector2d  to 
)
inlinestatic
static Vector2d UnityEngine.Vector2d.ClampMagnitude ( Vector2d  vector,
double  maxLength 
)
inlinestatic
static double UnityEngine.Vector2d.Distance ( Vector2d  a,
Vector2d  b 
)
inlinestatic
static double UnityEngine.Vector2d.Dot ( Vector2d  lhs,
Vector2d  rhs 
)
inlinestatic
override bool UnityEngine.Vector2d.Equals ( object  other)
inline
override int UnityEngine.Vector2d.GetHashCode ( )
inline
static Vector2d UnityEngine.Vector2d.Lerp ( Vector2d  from,
Vector2d  to,
double  t 
)
inlinestatic
static Vector2d UnityEngine.Vector2d.Max ( Vector2d  lhs,
Vector2d  rhs 
)
inlinestatic
static Vector2d UnityEngine.Vector2d.Min ( Vector2d  lhs,
Vector2d  rhs 
)
inlinestatic
static Vector2d UnityEngine.Vector2d.MoveTowards ( Vector2d  current,
Vector2d  target,
double  maxDistanceDelta 
)
inlinestatic
void UnityEngine.Vector2d.Normalize ( )
inline
static implicit UnityEngine.Vector2d.operator Vector2d ( Vector3  v)
inlinestatic
static implicit UnityEngine.Vector2d.operator Vector3d ( Vector2d  v)
inlinestatic
static bool UnityEngine.Vector2d.operator!= ( Vector2d  lhs,
Vector2d  rhs 
)
inlinestatic
static Vector2d UnityEngine.Vector2d.operator* ( Vector2d  a,
double  d 
)
inlinestatic
static Vector2d UnityEngine.Vector2d.operator* ( double  d,
Vector2d  a 
)
inlinestatic
static Vector2d UnityEngine.Vector2d.operator+ ( Vector2d  a,
Vector2d  b 
)
inlinestatic
static Vector2d UnityEngine.Vector2d.operator- ( Vector2d  a,
Vector2d  b 
)
inlinestatic
static Vector2d UnityEngine.Vector2d.operator- ( Vector2d  a)
inlinestatic
static Vector2d UnityEngine.Vector2d.operator/ ( Vector2d  a,
double  d 
)
inlinestatic
static bool UnityEngine.Vector2d.operator== ( Vector2d  lhs,
Vector2d  rhs 
)
inlinestatic
static Vector2d UnityEngine.Vector2d.Scale ( Vector2d  a,
Vector2d  b 
)
inlinestatic
void UnityEngine.Vector2d.Scale ( Vector2d  scale)
inline
static double UnityEngine.Vector2d.SqrMagnitude ( Vector2d  a)
inlinestatic
double UnityEngine.Vector2d.SqrMagnitude ( )
inline
override string UnityEngine.Vector2d.ToString ( )
inline
string UnityEngine.Vector2d.ToString ( string  format)
inline

Member Data Documentation

double UnityEngine.Vector2d.x
double UnityEngine.Vector2d.y

Property Documentation

double UnityEngine.Vector2d.magnitude
get
Vector2d UnityEngine.Vector2d.normalized
get
Vector2d UnityEngine.Vector2d.one
staticget
Vector2d UnityEngine.Vector2d.right
staticget
double UnityEngine.Vector2d.sqrMagnitude
get
double UnityEngine.Vector2d.this[int index]
getset
Vector2d UnityEngine.Vector2d.up
staticget
Vector2d UnityEngine.Vector2d.zero
staticget

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