Struct Vector3
- Namespace
- AO
- Assembly
- CoreAssembly.dll
public struct Vector3
- Inherited Members
- Extension Methods
Constructors
Vector3(float, float, float)
public Vector3(float x, float y, float z)
Parameters
Fields
X
public float X
Field Value
Y
public float Y
Field Value
Z
public float Z
Field Value
Properties
Length
public float Length { get; }
Property Value
LengthSquared
public float LengthSquared { get; }
Property Value
Normalized
public Vector3 Normalized { get; }
Property Value
Methods
Abs(Vector3)
Returns the absolute value a vector.
public static Vector3 Abs(Vector3 a)
Parameters
a
Vector3
Returns
Max(Vector3, Vector3)
Returns the maximum of two vectors.
public static Vector3 Max(Vector3 a, Vector3 b)
Parameters
Returns
Min(Vector3, Vector3)
Returns the minimum of two vectors.
public static Vector3 Min(Vector3 a, Vector3 b)
Parameters
Returns
ToString()
Returns the fully qualified type name of this instance.
public override string ToString()
Returns
- string
The fully qualified type name.
Unlerp(Vector3, Vector3, Vector3)
Returns the percentage that 'value' is between 'a' and 'b'.
public static Vector3 Unlerp(Vector3 a, Vector3 b, Vector3 value)
Parameters
Returns
Operators
operator +(Vector3, Vector3)
public static Vector3 operator +(Vector3 a, Vector3 b)
Parameters
Returns
operator /(Vector3, Vector3)
public static Vector3 operator /(Vector3 a, Vector3 b)
Parameters
Returns
operator /(Vector3, float)
public static Vector3 operator /(Vector3 a, float b)
Parameters
Returns
operator ==(Vector3, Vector3)
public static bool operator ==(Vector3 a, Vector3 b)
Parameters
Returns
operator !=(Vector3, Vector3)
public static bool operator !=(Vector3 a, Vector3 b)
Parameters
Returns
operator *(Vector3, Vector3)
public static Vector3 operator *(Vector3 a, Vector3 b)
Parameters
Returns
operator *(Vector3, float)
public static Vector3 operator *(Vector3 a, float b)
Parameters
Returns
operator -(Vector3, Vector3)
public static Vector3 operator -(Vector3 a, Vector3 b)
Parameters
Returns
operator -(Vector3)
public static Vector3 operator -(Vector3 a)
Parameters
a
Vector3