C# Класс Afterglow.Math.Vector4

Показать файл Открыть проект

Открытые методы

Метод Описание
ToString ( ) : string

Returns the fully qualified type name of this instance.

ToVector3 ( ) : Vector3

Returns the 3d part of the vector.

Vector4 ( Vector3 vector3, float scalar ) : System

Initializes a new instance of the Vector4 struct.

Vector4 ( float values ) : System

Initializes a new instance of the Vector4 struct.

Vector4 ( float x, float y, float z, float w ) : System

Initializes a new instance of the Vector3 struct.

operator ( ) : Vector4

Implements the division operator with a scalar as divisor.

this ( int index ) : float

Gets the value at the specified axis.

Описание методов

ToString() публичный Метод

Returns the fully qualified type name of this instance.
public ToString ( ) : string
Результат string

ToVector3() публичный Метод

Returns the 3d part of the vector.
public ToVector3 ( ) : Vector3
Результат Vector3

Vector4() публичный Метод

Initializes a new instance of the Vector4 struct.
public Vector4 ( Vector3 vector3, float scalar ) : System
vector3 Vector3 The vector3.
scalar float The scalar.
Результат System

Vector4() публичный Метод

Initializes a new instance of the Vector4 struct.
public Vector4 ( float values ) : System
values float The values.
Результат System

Vector4() публичный Метод

Initializes a new instance of the Vector3 struct.
public Vector4 ( float x, float y, float z, float w ) : System
x float The value for the X-axis.
y float The value for the Y-axis.
z float The value for the Z-axis.
w float The value for the W-axis.
Результат System

operator() публичный статический Метод

Implements the division operator with a scalar as divisor.
public static operator ( ) : Vector4
Результат Vector4

this() публичный Метод

Gets the value at the specified axis.
public this ( int index ) : float
index int 0 -> x-axis; 1 -> y-axis; 2 -> z-axis; 3 -> w-axis.
Результат float