構造体 UByte4

vector of 4 unsigned bytes [詳細]

すべてのメンバ一覧

Public メソッド

 UByte4 (int x, int y, int z, int w)
 constructor taking 4 scalar integers
 UByte4 (Vector4 v)
 constructor taking a Vector4
Vector4 ToVector4 ()
 return the vector as a Vector4
bool Equals (UByte4 v)
 equality test
override bool Equals (Object o)
 equality test
override string ToString ()
 get the string representation of vector value
override int GetHashCode ()
 gets the hash code for this

Static Public メソッド

static bool operator== (UByte4 v1, UByte4 v2)
 equality operator
static bool operator!= (UByte4 v1, UByte4 v2)
 not equals operator

Public 変数

byte X
 X.
byte Y
 Y.
byte Z
 Z.
byte W
 W.

説明

vector of 4 unsigned bytes


コンストラクタとデストラクタ

UByte4 ( int  x,
int  y,
int  z,
int  w 
)

constructor taking 4 scalar integers

引数:
xx value to init with
yy value to init with
zz value to init with
ww value to init with
UByte4 ( Vector4  v)

constructor taking a Vector4

引数:
vthe vector to init with

メソッド

bool Equals ( UByte4  v)

equality test

引数:
vthe vector to compare this to
戻り値:
true if this == v, false otherwise
override bool Equals ( Object  o)

equality test

引数:
othe object to compare this to
戻り値:
true if this == o, false otherwise
override int GetHashCode ( )

gets the hash code for this

戻り値:
integer hash code
static bool operator!= ( UByte4  v1,
UByte4  v2 
) [static]

not equals operator

引数:
v1vector 1
v2vector 2
戻り値:
true if v 1 != v 2, false otherwise
static bool operator== ( UByte4  v1,
UByte4  v2 
) [static]

equality operator

引数:
v1vector 1
v2vector 2
戻り値:
true if vector 1 == vector 2, false otherwise
override string ToString ( )

get the string representation of vector value

戻り値:
the string representation of vector value
Vector4 ToVector4 ( )

return the vector as a Vector4

戻り値:
the vector as a Vector4

変数

byte W

W.

byte X

X.

byte Y

Y.

byte Z

Z.