Depiction Engine For Unity 2023.0 (Alpha)
Loading...
Searching...
No Matches
DepictionEngine.Vector4Double Struct Reference

A 64 bit double version of the Vector4. More...

Public Member Functions

 Vector4Double (double x, double y, double z, double w)
 
 Vector4Double (double x, double y, double z)
 
 Vector4Double (double x, double y)
 
 Vector4Double (Vector3Double xyz, double w)
 
void Set (double newX, double newY, double newZ, double newW)
 
void Scale (Vector4Double scale)
 
override int GetHashCode ()
 
override bool Equals (object other)
 
bool Equals (Vector4Double other)
 
void Normalize ()
 
override string ToString ()
 
string ToString (string format)
 
string ToString (string format, IFormatProvider formatProvider)
 
double SqrMagnitude ()
 

Static Public Member Functions

static Vector4Double Lerp (Vector4Double a, Vector4Double b, float t)
 
static Vector4Double LerpUnclamped (Vector4Double a, Vector4Double b, float t)
 
static Vector4Double MoveTowards (Vector4Double current, Vector4Double target, float maxDistanceDelta)
 
static Vector4Double Scale (Vector4Double a, Vector4Double b)
 
static Vector4Double Normalize (Vector4Double a)
 
static double Dot (Vector4Double a, Vector4Double b)
 
static Vector4Double Project (Vector4Double a, Vector4Double b)
 
static double Distance (Vector4Double a, Vector4Double b)
 
static double Magnitude (Vector4Double a)
 
static Vector4Double Min (Vector4Double lhs, Vector4Double rhs)
 
static Vector4Double Max (Vector4Double lhs, Vector4Double rhs)
 
static Vector4Double operator+ (Vector4Double a, Vector4Double b)
 
static Vector4Double operator- (Vector4Double a, Vector4Double b)
 
static Vector4Double operator- (Vector4Double a)
 
static Vector4Double operator* (Vector4Double a, double d)
 
static Vector4Double operator* (double d, Vector4Double a)
 
static Vector4Double operator/ (Vector4Double a, double d)
 
static bool operator== (Vector4Double lhs, Vector4Double rhs)
 
static bool operator!= (Vector4Double lhs, Vector4Double rhs)
 
static implicit operator Vector4Double (Vector3Double v)
 
static implicit operator Vector3Double (Vector4Double v)
 
static implicit operator Vector4Double (Vector2Double v)
 
static implicit operator Vector2Double (Vector4Double v)
 
static implicit operator Vector4Double (Vector4 v)
 
static double SqrMagnitude (Vector4Double a)
 
static string Format (string fmt, params object[] args)
 

Public Attributes

double x
 
double y
 
double z
 
double w
 

Static Public Attributes

static readonly Vector4Double zeroVector = new Vector4Double(0.0d, 0.0d, 0.0d, 0.0d)
 
static readonly Vector4Double oneVector = new Vector4Double(1.0d, 1.0d, 1.0d, 1.0d)
 
static readonly Vector4Double positiveInfinityVector = new Vector4Double(double.PositiveInfinity, double.PositiveInfinity, double.PositiveInfinity, double.PositiveInfinity)
 
static readonly Vector4Double negativeInfinityVector = new Vector4Double(double.NegativeInfinity, double.NegativeInfinity, double.NegativeInfinity, double.NegativeInfinity)
 

Properties

double this[int index] [get, set]
 
Vector4Double normalized [get]
 
double magnitude [get]
 
double sqrMagnitude [get]
 
static Vector4Double zero [get]
 
static Vector4Double one [get]
 
static Vector4Double positiveInfinity [get]
 
static Vector4Double negativeInfinity [get]
 

Detailed Description

A 64 bit double version of the Vector4.


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