Vector3 の int版。 [詳細]
Public メソッド | |
Vector3i (int x, int y, int z) | |
コンストラクタ。 | |
Vector3i (Vector2i xy, int z) | |
コンストラクタ。 | |
Vector3 | Vector3 () |
floatのVector3 型に変換して値を返します。 | |
Vector3i | Max (Vector3i value) |
要素単位の最大値。 | |
Vector3i | Min (Vector3i value) |
要素単位の最小値。 | |
Vector3i | Clamp (Vector3i min, Vector3i max) |
要素単位のクランプ処理。 | |
Vector3i | ClampIndex (Vector3i n) |
Element wise index clamp. | |
Vector3i | WrapIndex (Vector3i n) |
Element wise index wrap. | |
int | Product () |
要素の積、X * Y * Z を返します。 | |
bool | Equals (Vector3i v) |
等価テスト。 | |
override bool | Equals (Object o) |
等価テスト。 | |
override string | ToString () |
このベクトルの文字列表現を返します。 | |
override int | GetHashCode () |
このベクトルのハッシュコードを返します。 | |
Static Public メソッド | |
static Vector3i | operator+ (Vector3i a, Vector3i value) |
要素単位の加算。 | |
static Vector3i | operator- (Vector3i a, Vector3i value) |
要素単位の減算。 | |
static Vector3i | operator* (Vector3i a, Vector3i value) |
要素単位の乗算。 | |
static Vector3i | operator/ (Vector3i a, Vector3i value) |
要素単位の除算。 | |
static bool | operator== (Vector3i a, Vector3i value) |
すべての要素が等しい場合、trueを返します。 | |
static bool | operator!= (Vector3i a, Vector3i value) |
少なくとも1つの要素が等しくない場合、trueを返します。 | |
Public 変数 | |
int | X |
X. | |
int | Y |
Y. | |
int | Z |
Z. | |
プロパティ | |
Vector2i | Xx [get] |
Vector2i | Xy [get] |
Vector2i | Xz [get] |
Vector2i | Yx [get] |
Vector2i | Yy [get] |
Vector2i | Yz [get] |
Vector2i | Zx [get] |
Vector2i | Zy [get] |
Vector2i | Zz [get] |
Vector3i | Xxx [get] |
Vector3i | Xxy [get] |
Vector3i | Xxz [get] |
Vector3i | Xyx [get] |
Vector3i | Xyy [get] |
Vector3i | Xyz [get] |
Vector3i | Xzx [get] |
Vector3i | Xzy [get] |
Vector3i | Xzz [get] |
Vector3i | Yxx [get] |
Vector3i | Yxy [get] |
Vector3i | Yxz [get] |
Vector3i | Yyx [get] |
Vector3i | Yyy [get] |
Vector3i | Yyz [get] |
Vector3i | Yzx [get] |
Vector3i | Yzy [get] |
Vector3i | Yzz [get] |
Vector3i | Zxx [get] |
Vector3i | Zxy [get] |
Vector3i | Zxz [get] |
Vector3i | Zyx [get] |
Vector3i | Zyy [get] |
Vector3i | Zyz [get] |
Vector3i | Zzx [get] |
Vector3i | Zzy [get] |
Vector3i | Zzz [get] |
Vector3 の int版。
Element wise index clamp.
X is clamped to [0,n.X-1] Y is clamped to [0,n.Y-1] Z is clamped to [0,n.Z-1]
n | The 3d size "this" components must be clamped against. The components of n are assumed to be positive (values of n.X, n.Y or n.Z negative or zero will result in undefined behaviour). |
Element wise index wrap.
X wraps around [0,n.X-1] Y wraps around [0,n.Y-1] Z wraps around [0,n.Z-1] This's (X,Y,Z) is assumed to be a 3d index in a 3d table of size (n.X,n.Y.n.Z). If X, Y or Z are not in the valid array range, they are wrapped around [0,n.X-1], [0,n.Y-1], [0,n.Z-1] respectively (-1 becomes n-1, n becomes 0, n+1 becomes 1 etc), else their value is unchanged.
n | The 2d size "this" components must be wrapped around. The components of n are assumed to be positive (values of n.X, n.Y or n.Z negative or zero will result in undefined behaviour). |
int X |
X.
int Y |
Y.
int Z |
Z.
Vector2i Xx [get] |
Vector3i Xxx [get] |
Vector3i Xxy [get] |
Vector3i Xxz [get] |
Vector2i Xy [get] |
Vector3i Xyx [get] |
Vector3i Xyy [get] |
Vector3i Xyz [get] |
Vector2i Xz [get] |
Vector3i Xzx [get] |
Vector3i Xzy [get] |
Vector3i Xzz [get] |
Vector2i Yx [get] |
Vector3i Yxx [get] |
Vector3i Yxy [get] |
Vector3i Yxz [get] |
Vector2i Yy [get] |
Vector3i Yyx [get] |
Vector3i Yyy [get] |
Vector3i Yyz [get] |
Vector2i Yz [get] |
Vector3i Yzx [get] |
Vector3i Yzy [get] |
Vector3i Yzz [get] |
Vector2i Zx [get] |
Vector3i Zxx [get] |
Vector3i Zxy [get] |
Vector3i Zxz [get] |
Vector2i Zy [get] |
Vector3i Zyx [get] |
Vector3i Zyy [get] |
Vector3i Zyz [get] |
Vector2i Zz [get] |
Vector3i Zzx [get] |
Vector3i Zzy [get] |
Vector3i Zzz [get] |