Class Vector3IntEx
Inheritance
System.Object
Vector3IntEx
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: cs.temp.dll.dll
Syntax
public static class Vector3IntEx
Methods
Abs(Vector3Int)
new Vector3Int(Mathf.Abs(self.x), Mathf.Abs(self.y), Mathf.Abs(self.z))
Declaration
public static Vector3Int Abs(this Vector3Int self)
Parameters
Type |
Name |
Description |
Vector3Int |
self |
|
Returns
Type |
Description |
Vector3Int |
|
Clamp(Vector3Int, Int32, Int32)
Declaration
public static Vector3Int Clamp(this Vector3Int x, int min, int max)
Parameters
Type |
Name |
Description |
Vector3Int |
x |
|
System.Int32 |
min |
|
System.Int32 |
max |
|
Returns
Type |
Description |
Vector3Int |
|
Clamp(Vector3Int, Vector3Int, Vector3Int)
Declaration
public static Vector3Int Clamp(Vector3Int x, Vector3Int min, Vector3Int max)
Parameters
Type |
Name |
Description |
Vector3Int |
x |
|
Vector3Int |
min |
|
Vector3Int |
max |
|
Returns
Type |
Description |
Vector3Int |
|
Max(Vector3Int)
Mathf.Max(self.z, Mathf.Max(self.x, self.y))
Declaration
public static int Max(this Vector3Int self)
Parameters
Type |
Name |
Description |
Vector3Int |
self |
|
Returns
Type |
Description |
System.Int32 |
|
Min(Vector3Int)
Mathf.Min(self.z, Mathf.Min(self.x, self.y))
Declaration
public static int Min(this Vector3Int self)
Parameters
Type |
Name |
Description |
Vector3Int |
self |
|
Returns
Type |
Description |
System.Int32 |
|
PutX(Vector3Int, Int32)
Declaration
public static Vector3Int PutX(this Vector3Int self, int x)
Parameters
Type |
Name |
Description |
Vector3Int |
self |
|
System.Int32 |
x |
|
Returns
Type |
Description |
Vector3Int |
|
PutXy(Vector3Int, Int32, Int32)
Declaration
public static Vector3Int PutXy(this Vector3Int self, int x, int y)
Parameters
Type |
Name |
Description |
Vector3Int |
self |
|
System.Int32 |
x |
|
System.Int32 |
y |
|
Returns
Type |
Description |
Vector3Int |
|
PutXy(Vector3Int, Vector2Int)
Declaration
public static Vector3Int PutXy(this Vector3Int self, Vector2Int xy)
Parameters
Type |
Name |
Description |
Vector3Int |
self |
|
Vector2Int |
xy |
|
Returns
Type |
Description |
Vector3Int |
|
PutXz(Vector3Int, Int32, Int32)
Declaration
public static Vector3Int PutXz(this Vector3Int self, int x, int z)
Parameters
Type |
Name |
Description |
Vector3Int |
self |
|
System.Int32 |
x |
|
System.Int32 |
z |
|
Returns
Type |
Description |
Vector3Int |
|
PutY(Vector3Int, Int32)
Declaration
public static Vector3Int PutY(this Vector3Int self, int y)
Parameters
Type |
Name |
Description |
Vector3Int |
self |
|
System.Int32 |
y |
|
Returns
Type |
Description |
Vector3Int |
|
PutYz(Vector3Int, Int32, Int32)
Declaration
public static Vector3Int PutYz(this Vector3Int self, int y, int z)
Parameters
Type |
Name |
Description |
Vector3Int |
self |
|
System.Int32 |
y |
|
System.Int32 |
z |
|
Returns
Type |
Description |
Vector3Int |
|
PutZ(Vector3Int, Int32)
Declaration
public static Vector3Int PutZ(this Vector3Int self, int z)
Parameters
Type |
Name |
Description |
Vector3Int |
self |
|
System.Int32 |
z |
|
Returns
Type |
Description |
Vector3Int |
|
RevScale(Vector3Int, Vector3Int)
Vector3Int.Scaleの逆数版 a / b
Declaration
public static Vector3Int RevScale(Vector3Int a, Vector3Int b)
Parameters
Type |
Name |
Description |
Vector3Int |
a |
|
Vector3Int |
b |
|
Returns
Type |
Description |
Vector3Int |
|
RevScaled(Vector3Int, Vector3Int)
new Vector3Int(self.x / div.x, self.y / div.y, self.z / div.z)
Declaration
public static Vector3Int RevScaled(this Vector3Int self, Vector3Int div)
Parameters
Type |
Name |
Description |
Vector3Int |
self |
|
Vector3Int |
div |
|
Returns
Type |
Description |
Vector3Int |
|
Scaled(Vector3Int, Vector3Int)
new Vector3Int(self.x * mul.x, self.y * mul.y, self.z * mul.z)
Declaration
public static Vector3Int Scaled(this Vector3Int self, Vector3Int mul)
Parameters
Type |
Name |
Description |
Vector3Int |
self |
|
Vector3Int |
mul |
|
Returns
Type |
Description |
Vector3Int |
|
Sum(Vector3Int)
Declaration
public static int Sum(this Vector3Int self)
Parameters
Type |
Name |
Description |
Vector3Int |
self |
|
Returns
Type |
Description |
System.Int32 |
|
ToVector3(Vector3Int)
Declaration
public static Vector3 ToVector3(this Vector3Int self)
Parameters
Type |
Name |
Description |
Vector3Int |
self |
|
Returns
Xy(Vector3Int)
new Vector2Int(self.x, self.y);
Declaration
public static Vector2Int Xy(this Vector3Int self)
Parameters
Type |
Name |
Description |
Vector3Int |
self |
|
Returns
Type |
Description |
Vector2Int |
|
Xz(Vector3Int)
new Vector2Int(self.x, self.z);
Declaration
public static Vector2Int Xz(this Vector3Int self)
Parameters
Type |
Name |
Description |
Vector3Int |
self |
|
Returns
Type |
Description |
Vector2Int |
|
Yz(Vector3Int)
new Vector2Int(self.x, self.z);
Declaration
public static Vector2Int Yz(this Vector3Int self)
Parameters
Type |
Name |
Description |
Vector3Int |
self |
|
Returns
Type |
Description |
Vector2Int |
|