Struct Vector3Int
Assembly: UnityEngine.dll
Syntax
public struct Vector3Int : IEquatable<Vector3Int>
Constructors
|
Improve this Doc
View Source
Vector3Int(Int32, Int32, Int32)
Declaration
public Vector3Int(int x, int y, int z)
Parameters
Properties
|
Improve this Doc
View Source
down
Declaration
public static Vector3Int down { get; }
Property Value
|
Improve this Doc
View Source
Item[Int32]
Declaration
public int this[int index] { get; set; }
Parameters
Type |
Name |
Description |
Int32 |
index |
|
Property Value
|
Improve this Doc
View Source
left
Declaration
public static Vector3Int left { get; }
Property Value
|
Improve this Doc
View Source
magnitude
Declaration
public float magnitude { get; }
Property Value
|
Improve this Doc
View Source
one
Declaration
public static Vector3Int one { get; }
Property Value
|
Improve this Doc
View Source
right
Declaration
public static Vector3Int right { get; }
Property Value
|
Improve this Doc
View Source
sqrMagnitude
Declaration
public int sqrMagnitude { get; }
Property Value
|
Improve this Doc
View Source
up
Declaration
public static Vector3Int up { get; }
Property Value
|
Improve this Doc
View Source
x
Declaration
public int x { get; set; }
Property Value
|
Improve this Doc
View Source
y
Declaration
public int y { get; set; }
Property Value
|
Improve this Doc
View Source
z
Declaration
public int z { get; set; }
Property Value
|
Improve this Doc
View Source
zero
Declaration
public static Vector3Int zero { get; }
Property Value
Methods
|
Improve this Doc
View Source
CeilToInt(Vector3)
Declaration
public static Vector3Int CeilToInt(Vector3 v)
Parameters
Returns
|
Improve this Doc
View Source
Clamp(Vector3Int, Vector3Int)
Declaration
public void Clamp(Vector3Int min, Vector3Int max)
Parameters
|
Improve this Doc
View Source
Distance(Vector3Int, Vector3Int)
Declaration
public static float Distance(Vector3Int a, Vector3Int b)
Parameters
Returns
|
Improve this Doc
View Source
Equals(Object)
Declaration
public override bool Equals(object other)
Parameters
Type |
Name |
Description |
Object |
other |
|
Returns
Overrides
|
Improve this Doc
View Source
Equals(Vector3Int)
Declaration
public bool Equals(Vector3Int other)
Parameters
Returns
|
Improve this Doc
View Source
FloorToInt(Vector3)
Declaration
public static Vector3Int FloorToInt(Vector3 v)
Parameters
Returns
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
|
Improve this Doc
View Source
Max(Vector3Int, Vector3Int)
Declaration
public static Vector3Int Max(Vector3Int lhs, Vector3Int rhs)
Parameters
Returns
|
Improve this Doc
View Source
Min(Vector3Int, Vector3Int)
Declaration
public static Vector3Int Min(Vector3Int lhs, Vector3Int rhs)
Parameters
Returns
|
Improve this Doc
View Source
RoundToInt(Vector3)
Declaration
public static Vector3Int RoundToInt(Vector3 v)
Parameters
Returns
|
Improve this Doc
View Source
Scale(Vector3Int)
Declaration
public void Scale(Vector3Int scale)
Parameters
|
Improve this Doc
View Source
Scale(Vector3Int, Vector3Int)
Declaration
public static Vector3Int Scale(Vector3Int a, Vector3Int b)
Parameters
Returns
|
Improve this Doc
View Source
Set(Int32, Int32, Int32)
Declaration
public void Set(int x, int y, int z)
Parameters
|
Improve this Doc
View Source
ToString()
Declaration
public override string ToString()
Returns
Overrides
|
Improve this Doc
View Source
ToString(String)
Declaration
public string ToString(string format)
Parameters
Type |
Name |
Description |
String |
format |
|
Returns
Operators
|
Improve this Doc
View Source
Addition(Vector3Int, Vector3Int)
Declaration
public static Vector3Int operator +(Vector3Int a, Vector3Int b)
Parameters
Returns
|
Improve this Doc
View Source
Equality(Vector3Int, Vector3Int)
Declaration
public static bool operator ==(Vector3Int lhs, Vector3Int rhs)
Parameters
Returns
|
Improve this Doc
View Source
Explicit(Vector3Int to Vector2Int)
Declaration
public static explicit operator Vector2Int(Vector3Int v)
Parameters
Returns
|
Improve this Doc
View Source
Implicit(Vector3Int to Vector3)
Declaration
public static implicit operator Vector3(Vector3Int v)
Parameters
Returns
|
Improve this Doc
View Source
Inequality(Vector3Int, Vector3Int)
Declaration
public static bool operator !=(Vector3Int lhs, Vector3Int rhs)
Parameters
Returns
|
Improve this Doc
View Source
Multiply(Vector3Int, Int32)
Declaration
public static Vector3Int operator *(Vector3Int a, int b)
Parameters
Returns
|
Improve this Doc
View Source
Multiply(Vector3Int, Vector3Int)
Declaration
public static Vector3Int operator *(Vector3Int a, Vector3Int b)
Parameters
Returns
|
Improve this Doc
View Source
Subtraction(Vector3Int, Vector3Int)
Declaration
public static Vector3Int operator -(Vector3Int a, Vector3Int b)
Parameters
Returns
Implements
Extension Methods