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
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