BoundsInt
struct in UnityEngine · UnityEngine.CoreModule
In Tassix
An integer box: position and size, min inclusive and max exclusive.
Constructors 1
BoundsInt(int xMin, int yMin, int zMin, int sizeX, int sizeY, int sizeZ)BoundsInt(Vector3Int position, Vector3Int size)BoundsInt(in Vector3Int position, in Vector3Int size)Properties 15
PositionEnumerator allPositionsWithin { get; }Vector3 center { get; }Vector3Int max { get; set; }Vector3Int min { get; set; }Vector3Int position { get; set; }Vector3Int size { get; set; }int x { get; set; }int xMax { get; set; }int xMin { get; set; }int y { get; set; }int yMax { get; set; }int yMin { get; set; }int z { get; set; }int zMax { get; set; }int zMin { get; set; }Methods 6
bool Contains(Vector3Int position)bool Contains(in Vector3Int position)int GetHashCode()void SetMinMax(Vector3Int minPosition, Vector3Int maxPosition)void SetMinMax(in Vector3Int minPosition, in Vector3Int maxPosition)string ToString()string ToString(string? format)string ToString(string? format, IFormatProvider? formatProvider)