Struct BoundsInt
Assembly: UnityEngine.dll
Syntax
public struct BoundsInt : IEquatable<BoundsInt>
Constructors
|
Improve this Doc
View Source
BoundsInt(Int32, Int32, Int32, Int32, Int32, Int32)
Declaration
public BoundsInt(int xMin, int yMin, int zMin, int sizeX, int sizeY, int sizeZ)
Parameters
|
Improve this Doc
View Source
BoundsInt(Vector3Int, Vector3Int)
Declaration
public BoundsInt(Vector3Int position, Vector3Int size)
Parameters
Properties
|
Improve this Doc
View Source
allPositionsWithin
Declaration
public BoundsInt.PositionEnumerator allPositionsWithin { get; }
Property Value
|
Improve this Doc
View Source
center
Declaration
public Vector3 center { get; }
Property Value
|
Improve this Doc
View Source
max
Declaration
public Vector3Int max { get; set; }
Property Value
|
Improve this Doc
View Source
min
Declaration
public Vector3Int min { get; set; }
Property Value
|
Improve this Doc
View Source
position
Declaration
public Vector3Int position { get; set; }
Property Value
|
Improve this Doc
View Source
size
Declaration
public Vector3Int size { get; set; }
Property Value
|
Improve this Doc
View Source
x
Declaration
public int x { get; set; }
Property Value
|
Improve this Doc
View Source
xMax
Declaration
public int xMax { get; set; }
Property Value
|
Improve this Doc
View Source
xMin
Declaration
public int xMin { get; set; }
Property Value
|
Improve this Doc
View Source
y
Declaration
public int y { get; set; }
Property Value
|
Improve this Doc
View Source
yMax
Declaration
public int yMax { get; set; }
Property Value
|
Improve this Doc
View Source
yMin
Declaration
public int yMin { get; set; }
Property Value
|
Improve this Doc
View Source
z
Declaration
public int z { get; set; }
Property Value
|
Improve this Doc
View Source
zMax
Declaration
public int zMax { get; set; }
Property Value
|
Improve this Doc
View Source
zMin
Declaration
public int zMin { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
ClampToBounds(BoundsInt)
Declaration
public void ClampToBounds(BoundsInt bounds)
Parameters
|
Improve this Doc
View Source
Contains(Vector3Int)
Declaration
public bool Contains(Vector3Int position)
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(BoundsInt)
Declaration
public bool Equals(BoundsInt other)
Parameters
Returns
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
|
Improve this Doc
View Source
SetMinMax(Vector3Int, Vector3Int)
Declaration
public void SetMinMax(Vector3Int minPosition, Vector3Int maxPosition)
Parameters
|
Improve this Doc
View Source
ToString()
Declaration
public override string ToString()
Returns
Overrides
Operators
|
Improve this Doc
View Source
Equality(BoundsInt, BoundsInt)
Declaration
public static bool operator ==(BoundsInt lhs, BoundsInt rhs)
Parameters
Returns
|
Improve this Doc
View Source
Inequality(BoundsInt, BoundsInt)
Declaration
public static bool operator !=(BoundsInt lhs, BoundsInt rhs)
Parameters
Returns
Implements
Extension Methods