Table of Contents

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

x float
y float
z float

Fields

X

public float X

Field Value

float

Y

public float Y

Field Value

float

Z

public float Z

Field Value

float

Properties

Length

public float Length { get; }

Property Value

float

LengthSquared

public float LengthSquared { get; }

Property Value

float

Normalized

public Vector3 Normalized { get; }

Property Value

Vector3

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

a Vector3
b Vector3
value Vector3

Returns

Vector3

Operators

operator +(Vector3, Vector3)

public static Vector3 operator +(Vector3 a, Vector3 b)

Parameters

a Vector3
b Vector3

Returns

Vector3

operator /(Vector3, Vector3)

public static Vector3 operator /(Vector3 a, Vector3 b)

Parameters

a Vector3
b Vector3

Returns

Vector3

operator /(Vector3, float)

public static Vector3 operator /(Vector3 a, float b)

Parameters

a Vector3
b float

Returns

Vector3

operator ==(Vector3, Vector3)

public static bool operator ==(Vector3 a, Vector3 b)

Parameters

a Vector3
b Vector3

Returns

bool

operator !=(Vector3, Vector3)

public static bool operator !=(Vector3 a, Vector3 b)

Parameters

a Vector3
b Vector3

Returns

bool

operator *(Vector3, Vector3)

public static Vector3 operator *(Vector3 a, Vector3 b)

Parameters

a Vector3
b Vector3

Returns

Vector3

operator *(Vector3, float)

public static Vector3 operator *(Vector3 a, float b)

Parameters

a Vector3
b float

Returns

Vector3

operator -(Vector3, Vector3)

public static Vector3 operator -(Vector3 a, Vector3 b)

Parameters

a Vector3
b Vector3

Returns

Vector3

operator -(Vector3)

public static Vector3 operator -(Vector3 a)

Parameters

a Vector3

Returns

Vector3