C# 클래스 Afterglow.Math.Vector4

파일 보기 프로젝트 열기: Christof/afterglow

공개 메소드들

메소드 설명
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